Updated theme handling.
This commit is contained in:
@@ -2,15 +2,5 @@ import { Box } from '@umami/react-zen';
|
||||
import type { BoxProps } from '@umami/react-zen/Box';
|
||||
|
||||
export function Panel(props: BoxProps) {
|
||||
return (
|
||||
<Box
|
||||
padding="6"
|
||||
border
|
||||
borderRadius="3"
|
||||
backgroundColor
|
||||
shadow="4"
|
||||
position="relative"
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
return <Box padding="6" border borderRadius="3" backgroundColor position="relative" {...props} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user