semantic-ui-react
Version:
The official Semantic-UI-React integration.
24 lines (16 loc) • 649 B
TypeScript
import * as React from 'react'
import { StrictDropdownProps } from '../../modules/Dropdown'
import { StrictFormFieldProps } from './FormField'
export interface FormDropdownProps extends StrictFormDropdownProps {
[key: string]: any
}
export interface StrictFormDropdownProps extends StrictFormFieldProps, StrictDropdownProps {
/** An element type to render as (string or function). */
as?: any
/** A FormField control prop. */
control?: any
/** Individual fields may display an error state along with a message. */
error?: any
}
declare const FormDropdown: React.StatelessComponent<FormDropdownProps>
export default FormDropdown