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

ISSUE-132 ISSUE-141 Make resizable snackbars #164

Closed
wants to merge 1 commit into from

Conversation

vyushin
Copy link

@vyushin vyushin commented Sep 15, 2019

Fixed #132
Fixed #141

renderVariant

To most compatibility with current notistack versions i made renderVariant property of SnackbarProvider that can be default or wrapped.

Example:

<SnackbarProvider autoHideDuration={null}
                        renderVariant="wrapped"
                        anchorOrigin={{ vertical: 'bottom', horizontal: 'right' }}
                        dense={dense}>

        {children}
      </SnackbarProvider>

When renderVariant is wrapped snackbars will wrapped in container and snacks will resizible.
When renderVariant is default snackbars will works without this changes (like current version).

May be in future renderVariant might be deleted and notistack will has wrapped renderVariant by default.

notistack

@iamhosseindhv
Copy link
Owner

moved to #167

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