4.0.2 • Published 8 months ago

@licuido-ui/ui_notification v4.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

Notification Component

The Notification component displays a list of notifications with customizable styling and data.

Author

Link

Story Book Link to MobileInput

PlayGround

Try it have a fun codeBox

Installation

npm i @licuido-ui/ui_notification

Import component

import { Notification } from '@licuido-ui/ui_notification';

Usage

<Notification data={data} count={data?.length}></Notification>

Image

alt text

PropTypeDescriptionDefault Props
idstringIs this the principal call to action on the page?
classNamestringAdditional CSS class for styling the component.
sxSxProps<Theme>Custom styling using the Theme UI system.
dataDataProps[]Data for rendering the notifications.
countReact.ReactNodeThe number of messages to display.
messageBoxStyleSxPropsCustom styling for the message box.
mainBoxStyleSxPropsCustom styling for the main box.
imageStyleSxPropsCustom styling for the image.
messageStyleSxPropsCustom styling for the text message.
nodataReact.ReactNodeDisplay nodata content.
messageVariantstringsubtitle2messageVariant variant applied to the variant Props using an messageVariant to the Typography.
headerTextVariantstringh6headerTextVariant variant applied to the variant Props using an headerTextVariant to the Typography.
timeVariantstringbody1timeVariant variant applied to the variant Props using an timeVariant to the Typography.