We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Example isn't working in a TSX file:
<SelectSearch options={options} search filterOptions={fuzzySearch} emptyMessage={() => ( <div style={{ textAlign: "center", fontSize: "0.8em" }}> Not found renderer </div> )} placeholder="Select your country" />
TypeScript says that Type '() => JSX.Element' cannot be assigned to type 'string | (() => string) | undefined'
It would also be interesting if some action could be carried out with that query, for example creating it.
The text was updated successfully, but these errors were encountered:
Thanks for the report, will fix asap!
Sorry, something went wrong.
Fix types
e7d470d
No branches or pull requests
Describe the bug
Example isn't working in a TSX file:
TypeScript says that Type '() => JSX.Element' cannot be assigned to type 'string | (() => string) | undefined'
It would also be interesting if some action could be carried out with that query, for example creating it.
The text was updated successfully, but these errors were encountered: