Open ivan-kleshnin opened 3 years ago
👋 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
Bug Report
Description
StrictInputProps: https://github.com/Semantic-Org/Semantic-UI-React/blob/master/src/elements/Input/Input.d.ts#L10
is missing
value
andplaceholder
types.StrictTextAreaProps: https://github.com/Semantic-Org/Semantic-UI-React/blob/master/src/addons/TextArea/TextArea.d.ts#L7
has
value
type but notplaceholder
.I'm not an expert with TS and Semantic so I can miss something obvious. Please correct me if so.
Version
2.0.1