Semantic-UI-React
Semantic-UI-React copied to clipboard
Some types are missing in Input and Textarea
Bug Report
Description
StrictInputProps: https://github.com/Semantic-Org/Semantic-UI-React/blob/master/src/elements/Input/Input.d.ts#L10
is missing value and placeholder types.
StrictTextAreaProps: https://github.com/Semantic-Org/Semantic-UI-React/blob/master/src/addons/TextArea/TextArea.d.ts#L7
has value type but not placeholder.
I'm not an expert with TS and Semantic so I can miss something obvious. Please correct me if so.
Version
2.0.1
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
declare class Input extends React.Component<InputProps> {
focus: () => void
select: () => void
}
declare class TextArea extends React.Component<TextAreaProps> {
focus: () => void
}
Also lacks blur: () => void