@totalsoft/rocket-ui
Version:
A set of reusable and composable React components built on top of Material UI core for developing fast and friendly web applications interfaces.
15 lines (14 loc) • 586 B
TypeScript
import React from 'react';
import PropTypes from 'prop-types';
import { DeprecatedOptionProps } from './types';
declare const Option: {
({ optionLabel, createdLabel, selected, withCheckboxes, option, ...rest }: DeprecatedOptionProps): React.JSX.Element;
propTypes: {
optionLabel: PropTypes.Validator<string>;
selected: PropTypes.Requireable<boolean>;
withCheckboxes: PropTypes.Requireable<boolean>;
createdLabel: PropTypes.Requireable<string>;
option: PropTypes.Requireable<NonNullable<string | object>>;
};
};
export default Option;