allow override box styles

This commit is contained in:
Yanzhen Yu 2021-11-21 15:44:46 +08:00
parent b291d5968b
commit 649c7dde1f

View File

@ -279,13 +279,13 @@ const Box: ComponentImplementation<Static<typeof StyleSchema>> = ({
const styleProps = pick(restProps, StyleProps);
return (
<BaseBox
{...styleProps}
width="full"
height="full"
background="white"
border="1px solid"
borderColor="gray.200"
borderRadius="base"
{...styleProps}
>
<Slot slotsMap={slotsMap} slot="content" />
</BaseBox>