norma-library
Version:
Olos/Norma-DS. Design System based on Material UI, developed with TypeScript and Styled Components to create reusable and consistent components in web applications.
18 lines (16 loc) • 552 B
text/typescript
import { SxProps } from '@mui/material';
import { Theme } from '@emotion/react';
import { DataSelect, MuiSelectBaseProps, TextFieldVariant } from '../types';
export interface SelectBaseProps extends MuiSelectBaseProps {
sx?: SxProps<Theme>;
id?: string;
label?: React.ReactNode;
input?: React.ReactElement<any, any>;
variant?: TextFieldVariant;
value?: string | string[];
open?: boolean;
onOpen?: (event: React.SyntheticEvent) => void;
onClose?: (event: React.SyntheticEvent) => void;
multiple?: boolean;
data?: DataSelect[];
}