1.13.96 • Published 2 years ago
@myntra/uikit-component-notification v1.13.96
import Notification from './src/notification'
Notification
const items = [
'Lot 7568453298 rejected by Myntra. Make necessary changes.',
'Lot 7568453298 rejected by Myntra. Make necessary changes.',
'Lot 7568453298 rejected by Myntra. Make necessary changes.',
'Lot 7568453298 rejected by Myntra. Make necessary changes.'
];
<Notification trigger={<Button icon={Bell} notifications={4}/>}>
<List items={items}>
{({ item }) => <span>{item}</span>}
</List>
</Notification>