grepsr-ui-elements
Version:
26 lines (25 loc) • 750 B
TypeScript
import PropTypes from 'prop-types';
import { ElementType, ReactNode } from 'react';
interface BoxProps {
sx?: Array<Function | object | boolean> | Function | object | undefined | any;
children?: ReactNode;
component?: ElementType | undefined | any | string;
backgroundColor?: string | any;
borderColor?: string | any;
borderWidth?: number;
borderStyle?: string | any;
borderRadius?: string | any;
}
export { BoxProps };
declare const GrepsrBox: {
(props: BoxProps): JSX.Element;
defaultProps: {
component: string;
sx: {};
};
propTypes: {
sx: PropTypes.Requireable<any>;
component: PropTypes.Requireable<PropTypes.ReactComponentLike>;
};
};
export default GrepsrBox;