UNPKG

@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) 566 B
import React from 'react'; import PropTypes from 'prop-types'; import { OptionProps } from './types'; declare const Option: { ({ optionLabel, createdLabel, selected, withCheckboxes, option, ...rest }: OptionProps): 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;