diff --git a/packages/core/src/primitive/Box.ts b/packages/core/src/primitive/Box.ts index 8ccd5bcea..cb1689f45 100644 --- a/packages/core/src/primitive/Box.ts +++ b/packages/core/src/primitive/Box.ts @@ -35,6 +35,7 @@ export interface BoxProps { cursor?: string opacity?: number overflow?: string + visibility?: 'visible' | 'hidden' | 'collapse' | 'inherit' } export const BoxNonProps = [ @@ -75,6 +76,7 @@ export const Box = styled('div', { transition: props.transition, transform: props.transform, transformOrigin: props.transformOrigin, + visibility: props.visibility, }), (props) => props.css) Box.defaultProps = {