fix: export SelectProps type
This commit is contained in:
parent
e1075c131f
commit
03ef7154cf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user