Status list component for displaying multiple status messages with different types.
Configuration object
Array of status messages to display
Basic usage
statusList({ items: [ { value: 'success', label: 'Data fetched successfully.' }, { value: 'warning', label: 'Data filtered successfully.' }, { value: 'error', label: 'Data filtered successfully.' }, ],}); Copy
statusList({ items: [ { value: 'success', label: 'Data fetched successfully.' }, { value: 'warning', label: 'Data filtered successfully.' }, { value: 'error', label: 'Data filtered successfully.' }, ],});
Usage with React nodes as label
statusList({ items: [ { value: 'info', label: <span>Custom <strong>formatted</strong> message</span> } ],}); Copy
statusList({ items: [ { value: 'info', label: <span>Custom <strong>formatted</strong> message</span> } ],});
Status list component for displaying multiple status messages with different types.