mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2025-02-17 17:40:31 +08:00
allow override box styles
This commit is contained in:
parent
b291d5968b
commit
649c7dde1f
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user