Skip to content

Is customizing width of snackbar impossible? #18

@taechonkim

Description

@taechonkim

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions