2024-09-17 18:24:12 -05:00
|
|
|
import { Button, Flex, Popover, Text } from '@radix-ui/themes';
|
|
|
|
|
import { BlitzKitTheme } from '../components/BlitzKitTheme';
|
2024-09-15 16:20:11 -05:00
|
|
|
|
|
|
|
|
export function TestComponent() {
|
|
|
|
|
return (
|
|
|
|
|
<Popover.Root>
|
|
|
|
|
<Popover.Trigger>
|
|
|
|
|
<Button>Radix UI</Button>
|
|
|
|
|
</Popover.Trigger>
|
|
|
|
|
|
2024-09-17 18:24:12 -05:00
|
|
|
<BlitzKitTheme>
|
|
|
|
|
<Popover.Content>
|
|
|
|
|
<Flex direction="column">
|
|
|
|
|
<Text>I should be in a dark mode popover</Text>
|
|
|
|
|
<Button>And I should be yellow and have full border radius!</Button>
|
|
|
|
|
</Flex>
|
|
|
|
|
</Popover.Content>
|
|
|
|
|
</BlitzKitTheme>
|
2024-09-15 16:20:11 -05:00
|
|
|
</Popover.Root>
|
|
|
|
|
);
|
|
|
|
|
}
|