Update Box.tsx

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
Charles de Dreuille
2024-11-28 11:44:17 +00:00
parent 7d00606c21
commit 4956d536aa
-13
View File
@@ -19,19 +19,6 @@ import { boxSprinkles } from './sprinkles.css';
import { base } from './box.css';
import { BoxProps } from './types';
// /**
// * Properties for {@link Box}
// *
// * @public
// */
// export type BoxProps = Parameters<typeof boxSprinkles>[0] &
// Omit<
// React.AllHTMLAttributes<HTMLElement>,
// keyof Parameters<typeof boxSprinkles>[0]
// > & {
// as?: keyof JSX.IntrinsicElements;
// };
/** @public */
export const Box = (props: BoxProps) => {
const { as = 'div', className, style, ...rest } = props;