-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
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
feat: add Resizable item setting #514
Conversation
069f20d
to
173334d
Compare
173334d
to
50b6789
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
if (typeof option === 'string') { | ||
return option; | ||
} | ||
return option.url; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if it's an int?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the types, it can only be a string | RecordOf<App>
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pyphilia I can type it explicitly If you prefer
This PR adds the manual resize item setting.
It should also fix #493 by filtering options to the ones containing the search string.
The prettier command was updated to also format TS/TSX files. This generated some noise that was committed under 50b6789.
Needs:
closes #500