@tritium-research/react-component
Version:
A react component library based on material-ui, build for tritium internal usecases.
12 lines (11 loc) • 402 B
TypeScript
import { MenuItemProps, SelectProps as MuiSelectProps } from "@mui/material";
import { ReactNode } from "react";
export interface IOption {
value: any;
children: ReactNode;
}
export interface SelectProps extends MuiSelectProps {
options: IOption[] | string[];
menuItemProps?: MenuItemProps;
}
export default function Select(props: SelectProps): import("react/jsx-runtime").JSX.Element;