Repository URL to install this package:
|
Version:
2.7.3 ▾
|
import React from 'react';
import { NO_OP } from 'exotic';
import { SelectRenderItemProps } from '../typings';
import { OptionProps } from './typings';
import { defaultRenderBeforeText, defaultRenderText } from './renderProps';
declare class Option extends React.Component<OptionProps & SelectRenderItemProps> {
static defaultProps: {
identifier: number;
label: string;
onClick: typeof NO_OP;
renderText: typeof defaultRenderText;
renderBeforeText: typeof defaultRenderBeforeText;
};
handleClick: (event: Event) => void;
render(): JSX.Element;
}
export { Option };
export { Option as SelectOption };
export default Option;