[New] One seamless flow: workforce data to payroll, fully embedded.
features: { shiftNotes: true } is active on your Provider.features flag is turned on.| Property | Type | Required | Description |
|---|---|---|---|
onEvent | () => void | No | Callback for standard events. |
| Event | Description |
|---|---|
onNoteAdded | Triggered when a note is submitted. Provides the note text as a parameter. |
onNoteDeleted | Triggered when a note is deleted. |
| Element Name | Type | Properties | Description |
|---|---|---|---|
emptyStateBanner | Container | text, borderWidth, borderColor, borderRadius, padding, backgroundColor, icon | Styles the empty state banner shown when no notes exist. |
addNoteForm | Container | borderWidth, borderColor, borderRadius, padding, backgroundColor | Styles the area that wraps the form button and input area at the bottom. |
addNoteFormTextArea | Textarea | text, width, borderWidth, borderColor, borderRadius, backgroundColor | Styles the text input area for entering notes. |
addNoteFormButton | Button | size, padding, borderRadius, borderWidth, borderColor, backgroundColor, icon | Styles the add note button with enabled/disabled states. |
noteElement | Container | borderWidth, borderColor, borderRadius, padding, width, backgroundColor | Styles the container that wraps the content of individual notes. |
noteAuthor | Text | Styles the author name text (e.g., "Me"). | |
noteText | Text | Styles the content text of each note. | |
actionThreeDots | Icon | color, size | Styles the three dots menu icon that can appear in notes and other places in the app. |
noteDate | Text | Styles the date/time text for each note. |
| String Key | Default Value | Description |
|---|---|---|
emptyStateBannerText | "Share notes with your manager..." | Text displayed in the empty state banner when no notes exist. |
addNoteFormTextAreaPlaceholder | "Write your note here" | Placeholder text for the note input when empty. |
noteAuthorMe | "Me" | Text displayed for the current user's notes. |