Closed sradevski closed 5 years ago
This is useful when you want to override the styling of the notification containers using something like styled-components without relying on .css files. For example, if you pass the className, you can do the following:
styled-components
.css
const StyledContainer = styled(ReactNotification)` .react-notification-root .notification-item { box-shadow: none; } `
but styled-components rely on the component passing the classname to the underlying tag.
Commented in the PR, closing the issue
This is useful when you want to override the styling of the notification containers using something like
styled-components
without relying on.css
files. For example, if you pass the className, you can do the following:but
styled-components
rely on the component passing the classname to the underlying tag.