@cainiaofe/cn-ui-m
Version:
12 lines (11 loc) • 466 B
TypeScript
import { ForwardRefExoticComponent } from 'react';
import CnSelectOption from './option';
import { CnSelectOptionProps, CnSelectProps } from './types';
import './styles/index.scss';
import './styles/selected.scss';
export interface SelectComponent extends ForwardRefExoticComponent<CnSelectProps> {
Option: typeof CnSelectOption;
}
declare const CnSelect: SelectComponent;
export { CnSelect, CnSelectOption };
export type { CnSelectProps, CnSelectOptionProps };