Skip to content
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

Is customizing width of snackbar impossible? #18

Open
taechonkim opened this issue Jan 29, 2021 · 0 comments
Open

Is customizing width of snackbar impossible? #18

taechonkim opened this issue Jan 29, 2021 · 0 comments

Comments

@taechonkim
Copy link

taechonkim commented Jan 29, 2021

Hello 😊
I currently used this library and found it's impossible to customize width of snackbar.
Because of 96L of src/Snackbar.js, I thought customStyle overrides styles defined snackbar class(src/Snackbar.css).
But it isn't working.
My codes below.

const options = { style: { minWidth: '192px', width: '192px', maxWidth: '192px' } }
const [openSnackbar] = useSnackbar(options); 

How can I do?
I'm appreciate if anyone will reply. 🙇🏻‍♀️
If there's no way, I want to contribute for this issue :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant