Skip to content

Conversation

@abhay-keyvalue
Copy link
Contributor

@abhay-keyvalue abhay-keyvalue commented Apr 1, 2024

Description:

  • Implemented new props in the SIrenInbox component to enhance functionality.
  • Updated cardProps and inboxHeaderProps for improved customization options.
  • Enhanced the example project to reflect the changes.
  • Updated the script in package.json for seamless integration.
  • Implemented a back icon in the inbox header for improved navigation.

README.md Outdated
onNotificationCardClick | Custom click handler for notification cards | (notification)=> void | ()=>null |
listEmptyComponent | Custom component for empty notification list | JSX Element | null |
customHeader | Custom header component | JSX Element | null |
inboxHeaderProps | Props for customizing the header | InboxHeaderProps | { hideHeader: false, hideClearAll: false, customHeader: null } |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move hideClearAll, hideHeader prop description to here

customHeader,
showBackButton,
backButton,
handleBackNavigation
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use a more generic name like onBackClick

@abhay-keyvalue abhay-keyvalue merged commit dc9c94c into dev Apr 9, 2024
@abhay-keyvalue abhay-keyvalue deleted the feat/updated-props branch April 22, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants