react-awesome-toasts icon indicating copy to clipboard operation
react-awesome-toasts copied to clipboard

Custom container styles

Open isaacminogue opened this issue 6 years ago • 1 comments

I see that you've got

Custom container classnames

on your roadmap.

This is exactly what I need! Are there any workarounds at the moment to use styled components on the containing element? I'm already using a custom component on the toast itself but want to change spacing around it / animation etc. For example, I'm trying to add a classname prop as described here with the styled() method: https://www.styled-components.com/docs/basics#styling-any-component but the classnames get overridden with your default ones once it reaches the DOM

Screen Shot 2019-12-04 at 11 36 50 AM

isaacminogue avatar Dec 03 '19 22:12 isaacminogue

Hey!

Unfortunately, I don't spend time working on the open-source at the moment, got a lot of ongoing work at my office job. However, I'm open to reviewing any merge request and this one seems to me like not a hard one. I'd be really happy to guide you through the code if you need help.

blvdmitry avatar Dec 04 '19 08:12 blvdmitry