Download wp-calypso/client/components/forms/form-text-input-with-action/index.d.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 567 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/forms/form-text-input-with-action/index.d.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/components/forms/form-text-input-with-action/index.d.ts
-
curl -L -o index.d.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/forms/form-text-input-with-action/index.d.ts
567 Bytes
| import { ReactNode, Ref, FC } from 'react'; | |
| export interface FormTextInputWithActionProps { | |
| className?: string; | |
| clearOnSubmit?: boolean; | |
| action?: ReactNode; | |
| inputRef?: Ref< HTMLElement >; | |
| onFocus?: () => void; | |
| onBlur?: () => void; | |
| onKeyDown?: () => void; | |
| onChange?: ( param: string ) => void; | |
| onAction?: ( param: string ) => void; | |
| defaultValue?: string; | |
| disabled?: boolean; | |
| isError?: boolean; | |
| isValid?: boolean; | |
| placeholder?: string; | |
| } | |
| declare const FormTextInputWithAction: FC< FormTextInputWithActionProps >; | |
| export default FormTextInputWithAction; | |