Skip to content

Commit

Permalink
fix: add component prop on Option type definition
Browse files Browse the repository at this point in the history
fix: #2115
  • Loading branch information
HellWolf93 committed Jan 23, 2021
1 parent caed598 commit a115619
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Option/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ReactNode } from 'react';
import { ComponentType, ReactNode } from 'react';
import { BaseProps, IconPosition } from '../types';

export interface OptionProps extends BaseProps {
Expand All @@ -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;

0 comments on commit a115619

Please sign in to comment.