@clayui/form
Version:
ClayForm component
18 lines (17 loc) • 631 B
TypeScript
/**
* SPDX-FileCopyrightText: © 2019 Liferay, Inc. <https://liferay.com>
* SPDX-License-Identifier: BSD-3-Clause
*/
import React from 'react';
import Select from './Select';
interface IProps extends React.ComponentProps<typeof Select> {
/**
* Options of the select.
*/
options: Array<(React.ComponentProps<typeof Select.Option> | React.ComponentProps<typeof Select.OptGroup>) & {
options?: Array<React.ComponentProps<typeof Select.Option>>;
type?: 'group';
}>;
}
declare const ClaySelectWithOption: ({ options, ...otherProps }: IProps) => JSX.Element;
export default ClaySelectWithOption;