mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: search page
This commit is contained in:
1 parent
187230439b
commit
408b561b75
8 files changed
+37
-15
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import { Flex, type FlexProps, Theme } from '@radix-ui/themes';
|
||||
import type { ComponentProps } from 'react';
|
||||
import type { RadixSize } from '../stores/embedState';
|
||||
import { BlitzKitTheme } from './BlitzKitTheme';
|
||||
|
||||
type PageWrapperProps = FlexProps & {
|
||||
color?: ComponentProps<typeof Theme>['accentColor'];
|
||||
@@ -23,7 +24,7 @@ export function PageWrapper({
|
||||
...props
|
||||
}: PageWrapperProps) {
|
||||
return (
|
||||
<Theme
|
||||
<BlitzKitTheme
|
||||
accentColor={color}
|
||||
style={{
|
||||
flex: noFlex1 ? undefined : 1,
|
||||
@@ -49,6 +50,6 @@ export function PageWrapper({
|
||||
>
|
||||
{children}
|
||||
</Flex>
|
||||
</Theme>
|
||||
</BlitzKitTheme>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user