diff --git a/src/components/Option/index.d.ts b/src/components/Option/index.d.ts index 03a76cd8c..2d0192431 100644 --- a/src/components/Option/index.d.ts +++ b/src/components/Option/index.d.ts @@ -1,4 +1,4 @@ -import { ReactNode } from 'react'; +import { ComponentType, ReactNode } from 'react'; import { BaseProps, IconPosition } from '../types'; export interface OptionProps extends BaseProps { @@ -10,6 +10,7 @@ export interface OptionProps extends BaseProps { disabled?: boolean; title?: string; value?: any; + component?: ComponentType; } export default function(props: OptionProps): JSX.Element | null;