fix: export SelectProps type

This commit is contained in:
Tsu-ba-me 2022-04-14 15:33:10 -04:00
parent e1075c131f
commit 03ef7154cf

View File

@ -6,7 +6,9 @@ import {
import { GREY } from '../lib/consts/DEFAULT_THEME';
const Select = (selectProps: MUISelectProps): JSX.Element => {
type SelectProps = MUISelectProps;
const Select = (selectProps: SelectProps): JSX.Element => {
const { children, sx } = selectProps;
const combinedSx = {
[`& .${muiSelectClasses.icon}`]: {
@ -29,4 +31,6 @@ const Select = (selectProps: MUISelectProps): JSX.Element => {
);
};
export type { SelectProps };
export default Select;