@unicity/design-system
Version:
A comprehensive React component library built on Material-UI with advanced theming capabilities including neumorphism design support
26 lines • 817 B
TypeScript
import React from 'react';
import { BoxProps as MuiBoxProps } from '@mui/material';
export interface BoxProps extends Omit<MuiBoxProps, 'component'> {
/**
* The component used for the root node. Either a string to use a HTML element or a component.
*/
component?: React.ElementType;
/**
* Whether the box should have a subtle shadow
*/
elevation?: boolean;
/**
* Whether the box should have rounded corners
*/
rounded?: boolean;
/**
* Whether the box should have a border
*/
bordered?: boolean;
/**
* The background color variant
*/
bgVariant?: 'default' | 'paper' | 'paper2' | 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info';
}
export declare const Box: React.FC<BoxProps>;
//# sourceMappingURL=Box.d.ts.map