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
Add a configuration option for the IonMenuButton component to allow developers to override the icon used.
Creating an override option would allow developers to more easily create an application with more than one menu/sidebar, without either
Create a config option for the menu button that overrides the default icons.
So this:
const menuIcon = config.get('menuIcon', mode === 'ios' ? menuOutline : menuSharp);
would become something like this:
let menuIcon = config.get('menuIcon', mode === 'ios' ? menuOutline : menuSharp); if (customIcon) { menuIcon = customIcon; }
link to existing code
I could create a clone of the component that uses a custom icon, but this would cause the
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Prerequisites
Describe the Feature Request
Add a configuration option for the IonMenuButton component to allow developers to override the icon used.
Describe the Use Case
Creating an override option would allow developers to more easily create an application with more than one menu/sidebar, without either
Describe Preferred Solution
Create a config option for the menu button that overrides the default icons.
So this:
would become something like this:
link to existing code
Describe Alternatives
I could create a clone of the component that uses a custom icon, but this would cause the
Related Code
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: