14 lines
350 B
TypeScript
14 lines
350 B
TypeScript
import React from 'react';
|
|
interface IOption {
|
|
value?: any;
|
|
image: JSX.Element | string;
|
|
name?: string;
|
|
}
|
|
interface IProps {
|
|
defaultValue?: number | string;
|
|
onChange: (value?: any) => void;
|
|
options: IOption[];
|
|
}
|
|
declare const _default: React.MemoExoticComponent<(props: IProps) => React.JSX.Element>;
|
|
export default _default;
|