I'm still learning the interactions between antdesign and styled-components, and I have a question:
I know I'm able to pass the styles for components like the popover (which accepts the "overlayClassName" prop) doing something like this:
const styledPopover = ({ className, ...props }) => (<ANTPopover {...props} overlayClassName={className} />);
styledPopover.propTypes = {
className: PropTypes.string,
};
export const Popover = styled(styledPopover)`...`
But for the notifications, I have the className prop, but there's no component to style, just a function.
https://ant.design/components/notification/
Is there a way to wrap it into a styled component?
Thanks a lot,