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
BrickModal
BrickModal is an easy-to-use all-in-one component that handles the whole flow: from the opener button, to the modal, to the picker UI.
I remember maybe Todd mentioning this: passing a Button to a Modal component feels backwards:
pixiebrix-extension/src/pageEditor/panes/insert/InsertMenuItemPane.tsx
Lines 78 to 91 in 7074d26
The current structure has a few drawbacks:
BrickPicker
This would still allow BrickModal usage as a shortcut component while also enabling alternative usage.
The text was updated successfully, but these errors were encountered:
This issue will be closed in 7 days unless the stale label is removed, or a comment is added to the issue.
Sorry, something went wrong.
This issue was closed because it has been stale for 7 days with no activity.
No branches or pull requests
BrickModal
is an easy-to-use all-in-one component that handles the whole flow: from the opener button, to the modal, to the picker UI.I remember maybe Todd mentioning this: passing a Button to a Modal component feels backwards:
pixiebrix-extension/src/pageEditor/panes/insert/InsertMenuItemPane.tsx
Lines 78 to 91 in 7074d26
The current structure has a few drawbacks:
BrickModal
can only have one buttonSuggested changes
BrickPicker
component, then import it intoBrickModal
This would still allow
BrickModal
usage as a shortcut component while also enabling alternative usage.Related
The text was updated successfully, but these errors were encountered: