Notifications
Storybook
Go to StoryNotificationProps
Defined in: src/molecules/Notifications/Notification.tsx:21
Extends
NotificationContextType
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
title? | ReactNode | Title text of notification. | - | src/molecules/Notifications/Notification.tsx:25 |
image? | string | Optional image URL displayed on the left side of the notification. If not provided, a default icon is rendered instead. | - | src/molecules/Notifications/Notification.tsx:30 |
message? | ReactNode | Main message of the notification. | - | src/molecules/Notifications/Notification.tsx:34 |
time? | Date | Date to display along the notification. | - | src/molecules/Notifications/Notification.tsx:38 |
actions? | ReactNode | Container for action buttons. | - | src/molecules/Notifications/Notification.tsx:42 |
link? | string | If provided, the entire notification becomes a clickable link to this URL. | - | src/molecules/Notifications/Notification.tsx:46 |
isRead | boolean | Indicates whether a notification has been read, affects styling. | NotificationContextType.isRead | src/molecules/Notifications/NotificationContext.tsx:15 |
NotificationRootProps
Defined in: src/molecules/Notifications/NotificationRoot.tsx:18
Extends
ComponentProps<"article">
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
notification | NotificationContextType | - | - | src/molecules/Notifications/NotificationRoot.tsx:19 |
asChild? | boolean | - | - | src/molecules/Notifications/NotificationRoot.tsx:20 |
key? | Key | null | - | ComponentProps.key | node_modules/@types/react/index.d.ts:250 |
ref? | Ref<HTMLElement> | Allows getting a ref to the component instance. Once the component unmounts, React will set ref.current to null (or call the ref with null if you passed a callback ref). See React Docs | ComponentProps.ref | node_modules/@types/react/index.d.ts:292 |
children? | ReactNode | - | ComponentProps.children | node_modules/@types/react/index.d.ts:2230 |
dangerouslySetInnerHTML? | object | - | ComponentProps.dangerouslySetInnerHTML | node_modules/@types/react/index.d.ts:2231 |
dangerouslySetInnerHTML.__html | string | TrustedHTML | - | - | node_modules/@types/react/index.d.ts:2234 |
onCopy? | ClipboardEventHandler<HTMLElement> | - | ComponentProps.onCopy | node_modules/@types/react/index.d.ts:2238 |
onCopyCapture? | ClipboardEventHandler<HTMLElement> | - | ComponentProps.onCopyCapture | node_modules/@types/react/index.d.ts:2239 |
onCut? | ClipboardEventHandler<HTMLElement> | - | ComponentProps.onCut | node_modules/@types/react/index.d.ts:2240 |
onCutCapture? | ClipboardEventHandler<HTMLElement> | - | ComponentProps.onCutCapture | node_modules/@types/react/index.d.ts:2241 |
onPaste? | ClipboardEventHandler<HTMLElement> | - | ComponentProps.onPaste | node_modules/@types/react/index.d.ts:2242 |
onPasteCapture? | ClipboardEventHandler<HTMLElement> | - | ComponentProps.onPasteCapture | node_modules/@types/react/index.d.ts:2243 |
onCompositionEnd? | CompositionEventHandler<HTMLElement> | - | ComponentProps.onCompositionEnd | node_modules/@types/react/index.d.ts:2246 |
onCompositionEndCapture? | CompositionEventHandler<HTMLElement> | - | ComponentProps.onCompositionEndCapture | node_modules/@types/react/index.d.ts:2247 |
onCompositionStart? | CompositionEventHandler<HTMLElement> | - | ComponentProps.onCompositionStart | node_modules/@types/react/index.d.ts:2248 |
onCompositionStartCapture? | CompositionEventHandler<HTMLElement> | - | ComponentProps.onCompositionStartCapture | node_modules/@types/react/index.d.ts:2249 |
onCompositionUpdate? | CompositionEventHandler<HTMLElement> | - | ComponentProps.onCompositionUpdate | node_modules/@types/react/index.d.ts:2250 |
onCompositionUpdateCapture? | CompositionEventHandler<HTMLElement> | - | ComponentProps.onCompositionUpdateCapture | node_modules/@types/react/index.d.ts:2251 |
onFocus? | FocusEventHandler<HTMLElement> | - | ComponentProps.onFocus | node_modules/@types/react/index.d.ts:2254 |
onFocusCapture? | FocusEventHandler<HTMLElement> | - | ComponentProps.onFocusCapture | node_modules/@types/react/index.d.ts:2255 |
onBlur? | FocusEventHandler<HTMLElement> | - | ComponentProps.onBlur | node_modules/@types/react/index.d.ts:2256 |
onBlurCapture? | FocusEventHandler<HTMLElement> | - | ComponentProps.onBlurCapture | node_modules/@types/react/index.d.ts:2257 |
onChange? | FormEventHandler<HTMLElement> | - | ComponentProps.onChange | node_modules/@types/react/index.d.ts:2260 |
onChangeCapture? | FormEventHandler<HTMLElement> | - | ComponentProps.onChangeCapture | node_modules/@types/react/index.d.ts:2261 |
onBeforeInput? | InputEventHandler<HTMLElement> | - | ComponentProps.onBeforeInput | node_modules/@types/react/index.d.ts:2262 |
onBeforeInputCapture? | FormEventHandler<HTMLElement> | - | ComponentProps.onBeforeInputCapture | node_modules/@types/react/index.d.ts:2263 |
onInput? | FormEventHandler<HTMLElement> | - | ComponentProps.onInput | node_modules/@types/react/index.d.ts:2264 |
onInputCapture? | FormEventHandler<HTMLElement> | - | ComponentProps.onInputCapture | node_modules/@types/react/index.d.ts:2265 |
onReset? | FormEventHandler<HTMLElement> | - | ComponentProps.onReset | node_modules/@types/react/index.d.ts:2266 |
onResetCapture? | FormEventHandler<HTMLElement> | - | ComponentProps.onResetCapture | node_modules/@types/react/index.d.ts:2267 |
onSubmit? | FormEventHandler<HTMLElement> | - | ComponentProps.onSubmit | node_modules/@types/react/index.d.ts:2268 |
onSubmitCapture? | FormEventHandler<HTMLElement> | - | ComponentProps.onSubmitCapture | node_modules/@types/react/index.d.ts:2269 |
onInvalid? | FormEventHandler<HTMLElement> | - | ComponentProps.onInvalid | node_modules/@types/react/index.d.ts:2270 |
onInvalidCapture? | FormEventHandler<HTMLElement> | - | ComponentProps.onInvalidCapture | node_modules/@types/react/index.d.ts:2271 |
onLoad? | ReactEventHandler<HTMLElement> | - | ComponentProps.onLoad | node_modules/@types/react/index.d.ts:2274 |
onLoadCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onLoadCapture | node_modules/@types/react/index.d.ts:2275 |
onError? | ReactEventHandler<HTMLElement> | - | ComponentProps.onError | node_modules/@types/react/index.d.ts:2276 |
onErrorCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onErrorCapture | node_modules/@types/react/index.d.ts:2277 |
onKeyDown? | KeyboardEventHandler<HTMLElement> | - | ComponentProps.onKeyDown | node_modules/@types/react/index.d.ts:2280 |
onKeyDownCapture? | KeyboardEventHandler<HTMLElement> | - | ComponentProps.onKeyDownCapture | node_modules/@types/react/index.d.ts:2281 |
onKeyPress? | KeyboardEventHandler<HTMLElement> | Deprecated Use onKeyUp or onKeyDown instead | ComponentProps.onKeyPress | node_modules/@types/react/index.d.ts:2283 |
onKeyPressCapture? | KeyboardEventHandler<HTMLElement> | Deprecated Use onKeyUpCapture or onKeyDownCapture instead | ComponentProps.onKeyPressCapture | node_modules/@types/react/index.d.ts:2285 |
onKeyUp? | KeyboardEventHandler<HTMLElement> | - | ComponentProps.onKeyUp | node_modules/@types/react/index.d.ts:2286 |
onKeyUpCapture? | KeyboardEventHandler<HTMLElement> | - | ComponentProps.onKeyUpCapture | node_modules/@types/react/index.d.ts:2287 |
onAbort? | ReactEventHandler<HTMLElement> | - | ComponentProps.onAbort | node_modules/@types/react/index.d.ts:2290 |
onAbortCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onAbortCapture | node_modules/@types/react/index.d.ts:2291 |
onCanPlay? | ReactEventHandler<HTMLElement> | - | ComponentProps.onCanPlay | node_modules/@types/react/index.d.ts:2292 |
onCanPlayCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onCanPlayCapture | node_modules/@types/react/index.d.ts:2293 |
onCanPlayThrough? | ReactEventHandler<HTMLElement> | - | ComponentProps.onCanPlayThrough | node_modules/@types/react/index.d.ts:2294 |
onCanPlayThroughCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onCanPlayThroughCapture | node_modules/@types/react/index.d.ts:2295 |
onDurationChange? | ReactEventHandler<HTMLElement> | - | ComponentProps.onDurationChange | node_modules/@types/react/index.d.ts:2296 |
onDurationChangeCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onDurationChangeCapture | node_modules/@types/react/index.d.ts:2297 |
onEmptied? | ReactEventHandler<HTMLElement> | - | ComponentProps.onEmptied | node_modules/@types/react/index.d.ts:2298 |
onEmptiedCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onEmptiedCapture | node_modules/@types/react/index.d.ts:2299 |
onEncrypted? | ReactEventHandler<HTMLElement> | - | ComponentProps.onEncrypted | node_modules/@types/react/index.d.ts:2300 |
onEncryptedCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onEncryptedCapture | node_modules/@types/react/index.d.ts:2301 |
onEnded? | ReactEventHandler<HTMLElement> | - | ComponentProps.onEnded | node_modules/@types/react/index.d.ts:2302 |
onEndedCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onEndedCapture | node_modules/@types/react/index.d.ts:2303 |
onLoadedData? | ReactEventHandler<HTMLElement> | - | ComponentProps.onLoadedData | node_modules/@types/react/index.d.ts:2304 |
onLoadedDataCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onLoadedDataCapture | node_modules/@types/react/index.d.ts:2305 |
onLoadedMetadata? | ReactEventHandler<HTMLElement> | - | ComponentProps.onLoadedMetadata | node_modules/@types/react/index.d.ts:2306 |
onLoadedMetadataCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onLoadedMetadataCapture | node_modules/@types/react/index.d.ts:2307 |
onLoadStart? | ReactEventHandler<HTMLElement> | - | ComponentProps.onLoadStart | node_modules/@types/react/index.d.ts:2308 |
onLoadStartCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onLoadStartCapture | node_modules/@types/react/index.d.ts:2309 |
onPause? | ReactEventHandler<HTMLElement> | - | ComponentProps.onPause | node_modules/@types/react/index.d.ts:2310 |
onPauseCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onPauseCapture | node_modules/@types/react/index.d.ts:2311 |
onPlay? | ReactEventHandler<HTMLElement> | - | ComponentProps.onPlay | node_modules/@types/react/index.d.ts:2312 |
onPlayCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onPlayCapture | node_modules/@types/react/index.d.ts:2313 |
onPlaying? | ReactEventHandler<HTMLElement> | - | ComponentProps.onPlaying | node_modules/@types/react/index.d.ts:2314 |
onPlayingCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onPlayingCapture | node_modules/@types/react/index.d.ts:2315 |
onProgress? | ReactEventHandler<HTMLElement> | - | ComponentProps.onProgress | node_modules/@types/react/index.d.ts:2316 |
onProgressCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onProgressCapture | node_modules/@types/react/index.d.ts:2317 |
onRateChange? | ReactEventHandler<HTMLElement> | - | ComponentProps.onRateChange | node_modules/@types/react/index.d.ts:2318 |
onRateChangeCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onRateChangeCapture | node_modules/@types/react/index.d.ts:2319 |
onSeeked? | ReactEventHandler<HTMLElement> | - | ComponentProps.onSeeked | node_modules/@types/react/index.d.ts:2320 |
onSeekedCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onSeekedCapture | node_modules/@types/react/index.d.ts:2321 |
onSeeking? | ReactEventHandler<HTMLElement> | - | ComponentProps.onSeeking | node_modules/@types/react/index.d.ts:2322 |
onSeekingCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onSeekingCapture | node_modules/@types/react/index.d.ts:2323 |
onStalled? | ReactEventHandler<HTMLElement> | - | ComponentProps.onStalled | node_modules/@types/react/index.d.ts:2324 |
onStalledCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onStalledCapture | node_modules/@types/react/index.d.ts:2325 |
onSuspend? | ReactEventHandler<HTMLElement> | - | ComponentProps.onSuspend | node_modules/@types/react/index.d.ts:2326 |
onSuspendCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onSuspendCapture | node_modules/@types/react/index.d.ts:2327 |
onTimeUpdate? | ReactEventHandler<HTMLElement> | - | ComponentProps.onTimeUpdate | node_modules/@types/react/index.d.ts:2328 |
onTimeUpdateCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onTimeUpdateCapture | node_modules/@types/react/index.d.ts:2329 |
onVolumeChange? | ReactEventHandler<HTMLElement> | - | ComponentProps.onVolumeChange | node_modules/@types/react/index.d.ts:2330 |
onVolumeChangeCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onVolumeChangeCapture | node_modules/@types/react/index.d.ts:2331 |
onWaiting? | ReactEventHandler<HTMLElement> | - | ComponentProps.onWaiting | node_modules/@types/react/index.d.ts:2332 |
onWaitingCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onWaitingCapture | node_modules/@types/react/index.d.ts:2333 |
onAuxClick? | MouseEventHandler<HTMLElement> | - | ComponentProps.onAuxClick | node_modules/@types/react/index.d.ts:2336 |
onAuxClickCapture? | MouseEventHandler<HTMLElement> | - | ComponentProps.onAuxClickCapture | node_modules/@types/react/index.d.ts:2337 |
onClick? | MouseEventHandler<HTMLElement> | - | ComponentProps.onClick | node_modules/@types/react/index.d.ts:2338 |
onClickCapture? | MouseEventHandler<HTMLElement> | - | ComponentProps.onClickCapture | node_modules/@types/react/index.d.ts:2339 |
onContextMenu? | MouseEventHandler<HTMLElement> | - | ComponentProps.onContextMenu | node_modules/@types/react/index.d.ts:2340 |
onContextMenuCapture? | MouseEventHandler<HTMLElement> | - | ComponentProps.onContextMenuCapture | node_modules/@types/react/index.d.ts:2341 |
onDoubleClick? | MouseEventHandler<HTMLElement> | - | ComponentProps.onDoubleClick | node_modules/@types/react/index.d.ts:2342 |
onDoubleClickCapture? | MouseEventHandler<HTMLElement> | - | ComponentProps.onDoubleClickCapture | node_modules/@types/react/index.d.ts:2343 |
onDrag? | DragEventHandler<HTMLElement> | - | ComponentProps.onDrag | node_modules/@types/react/index.d.ts:2344 |
onDragCapture? | DragEventHandler<HTMLElement> | - | ComponentProps.onDragCapture | node_modules/@types/react/index.d.ts:2345 |
onDragEnd? | DragEventHandler<HTMLElement> | - | ComponentProps.onDragEnd | node_modules/@types/react/index.d.ts:2346 |
onDragEndCapture? | DragEventHandler<HTMLElement> | - | ComponentProps.onDragEndCapture | node_modules/@types/react/index.d.ts:2347 |
onDragEnter? | DragEventHandler<HTMLElement> | - | ComponentProps.onDragEnter | node_modules/@types/react/index.d.ts:2348 |
onDragEnterCapture? | DragEventHandler<HTMLElement> | - | ComponentProps.onDragEnterCapture | node_modules/@types/react/index.d.ts:2349 |
onDragExit? | DragEventHandler<HTMLElement> | - | ComponentProps.onDragExit | node_modules/@types/react/index.d.ts:2350 |
onDragExitCapture? | DragEventHandler<HTMLElement> | - | ComponentProps.onDragExitCapture | node_modules/@types/react/index.d.ts:2351 |
onDragLeave? | DragEventHandler<HTMLElement> | - | ComponentProps.onDragLeave | node_modules/@types/react/index.d.ts:2352 |
onDragLeaveCapture? | DragEventHandler<HTMLElement> | - | ComponentProps.onDragLeaveCapture | node_modules/@types/react/index.d.ts:2353 |
onDragOver? | DragEventHandler<HTMLElement> | - | ComponentProps.onDragOver | node_modules/@types/react/index.d.ts:2354 |
onDragOverCapture? | DragEventHandler<HTMLElement> | - | ComponentProps.onDragOverCapture | node_modules/@types/react/index.d.ts:2355 |
onDragStart? | DragEventHandler<HTMLElement> | - | ComponentProps.onDragStart | node_modules/@types/react/index.d.ts:2356 |
onDragStartCapture? | DragEventHandler<HTMLElement> | - | ComponentProps.onDragStartCapture | node_modules/@types/react/index.d.ts:2357 |
onDrop? | DragEventHandler<HTMLElement> | - | ComponentProps.onDrop | node_modules/@types/react/index.d.ts:2358 |
onDropCapture? | DragEventHandler<HTMLElement> | - | ComponentProps.onDropCapture | node_modules/@types/react/index.d.ts:2359 |
onMouseDown? | MouseEventHandler<HTMLElement> | - | ComponentProps.onMouseDown | node_modules/@types/react/index.d.ts:2360 |
onMouseDownCapture? | MouseEventHandler<HTMLElement> | - | ComponentProps.onMouseDownCapture | node_modules/@types/react/index.d.ts:2361 |
onMouseEnter? | MouseEventHandler<HTMLElement> | - | ComponentProps.onMouseEnter | node_modules/@types/react/index.d.ts:2362 |
onMouseLeave? | MouseEventHandler<HTMLElement> | - | ComponentProps.onMouseLeave | node_modules/@types/react/index.d.ts:2363 |
onMouseMove? | MouseEventHandler<HTMLElement> | - | ComponentProps.onMouseMove | node_modules/@types/react/index.d.ts:2364 |
onMouseMoveCapture? | MouseEventHandler<HTMLElement> | - | ComponentProps.onMouseMoveCapture | node_modules/@types/react/index.d.ts:2365 |
onMouseOut? | MouseEventHandler<HTMLElement> | - | ComponentProps.onMouseOut | node_modules/@types/react/index.d.ts:2366 |
onMouseOutCapture? | MouseEventHandler<HTMLElement> | - | ComponentProps.onMouseOutCapture | node_modules/@types/react/index.d.ts:2367 |
onMouseOver? | MouseEventHandler<HTMLElement> | - | ComponentProps.onMouseOver | node_modules/@types/react/index.d.ts:2368 |
onMouseOverCapture? | MouseEventHandler<HTMLElement> | - | ComponentProps.onMouseOverCapture | node_modules/@types/react/index.d.ts:2369 |
onMouseUp? | MouseEventHandler<HTMLElement> | - | ComponentProps.onMouseUp | node_modules/@types/react/index.d.ts:2370 |
onMouseUpCapture? | MouseEventHandler<HTMLElement> | - | ComponentProps.onMouseUpCapture | node_modules/@types/react/index.d.ts:2371 |
onSelect? | ReactEventHandler<HTMLElement> | - | ComponentProps.onSelect | node_modules/@types/react/index.d.ts:2374 |
onSelectCapture? | ReactEventHandler<HTMLElement> | - | ComponentProps.onSelectCapture | node_modules/@types/react/index.d.ts:2375 |
onTouchCancel? | TouchEventHandler<HTMLElement> | - | ComponentProps.onTouchCancel | node_modules/@types/react/index.d.ts:2378 |
onTouchCancelCapture? | TouchEventHandler<HTMLElement> | - | ComponentProps.onTouchCancelCapture | node_modules/@types/react/index.d.ts:2379 |
onTouchEnd? | TouchEventHandler<HTMLElement> | - | ComponentProps.onTouchEnd | node_modules/@types/react/index.d.ts:2380 |
onTouchEndCapture? | TouchEventHandler<HTMLElement> | - | ComponentProps.onTouchEndCapture | node_modules/@types/react/index.d.ts:2381 |
onTouchMove? | TouchEventHandler<HTMLElement> | - | ComponentProps.onTouchMove | node_modules/@types/react/index.d.ts:2382 |
onTouchMoveCapture? | TouchEventHandler<HTMLElement> | - | ComponentProps.onTouchMoveCapture | node_modules/@types/react/index.d.ts:2383 |
onTouchStart? | TouchEventHandler<HTMLElement> | - | ComponentProps.onTouchStart | node_modules/@types/react/index.d.ts:2384 |
onTouchStartCapture? | TouchEventHandler<HTMLElement> | - | ComponentProps.onTouchStartCapture | node_modules/@types/react/index.d.ts:2385 |
onPointerDown? | PointerEventHandler<HTMLElement> | - | ComponentProps.onPointerDown | node_modules/@types/react/index.d.ts:2388 |
onPointerDownCapture? | PointerEventHandler<HTMLElement> | - | ComponentProps.onPointerDownCapture | node_modules/@types/react/index.d.ts:2389 |
onPointerMove? | PointerEventHandler<HTMLElement> | - | ComponentProps.onPointerMove | node_modules/@types/react/index.d.ts:2390 |
onPointerMoveCapture? | PointerEventHandler<HTMLElement> | - | ComponentProps.onPointerMoveCapture | node_modules/@types/react/index.d.ts:2391 |
onPointerUp? | PointerEventHandler<HTMLElement> | - | ComponentProps.onPointerUp | node_modules/@types/react/index.d.ts:2392 |
onPointerUpCapture? | PointerEventHandler<HTMLElement> | - | ComponentProps.onPointerUpCapture | node_modules/@types/react/index.d.ts:2393 |
onPointerCancel? | PointerEventHandler<HTMLElement> | - | ComponentProps.onPointerCancel | node_modules/@types/react/index.d.ts:2394 |
onPointerCancelCapture? | PointerEventHandler<HTMLElement> | - | ComponentProps.onPointerCancelCapture | node_modules/@types/react/index.d.ts:2395 |
onPointerEnter? | PointerEventHandler<HTMLElement> | - | ComponentProps.onPointerEnter | node_modules/@types/react/index.d.ts:2396 |
onPointerLeave? | PointerEventHandler<HTMLElement> | - | ComponentProps.onPointerLeave | node_modules/@types/react/index.d.ts:2397 |
onPointerOver? | PointerEventHandler<HTMLElement> | - | ComponentProps.onPointerOver | node_modules/@types/react/index.d.ts:2398 |
onPointerOverCapture? | PointerEventHandler<HTMLElement> | - | ComponentProps.onPointerOverCapture | node_modules/@types/react/index.d.ts:2399 |
onPointerOut? | PointerEventHandler<HTMLElement> | - | ComponentProps.onPointerOut | node_modules/@types/react/index.d.ts:2400 |
onPointerOutCapture? | PointerEventHandler<HTMLElement> | - | ComponentProps.onPointerOutCapture | node_modules/@types/react/index.d.ts:2401 |
onGotPointerCapture? | PointerEventHandler<HTMLElement> | - | ComponentProps.onGotPointerCapture | node_modules/@types/react/index.d.ts:2402 |
onGotPointerCaptureCapture? | PointerEventHandler<HTMLElement> | - | ComponentProps.onGotPointerCaptureCapture | node_modules/@types/react/index.d.ts:2403 |
onLostPointerCapture? | PointerEventHandler<HTMLElement> | - | ComponentProps.onLostPointerCapture | node_modules/@types/react/index.d.ts:2404 |
onLostPointerCaptureCapture? | PointerEventHandler<HTMLElement> | - | ComponentProps.onLostPointerCaptureCapture | node_modules/@types/react/index.d.ts:2405 |
onScroll? | UIEventHandler<HTMLElement> | - | ComponentProps.onScroll | node_modules/@types/react/index.d.ts:2408 |
onScrollCapture? | UIEventHandler<HTMLElement> | - | ComponentProps.onScrollCapture | node_modules/@types/react/index.d.ts:2409 |
onScrollEnd? | UIEventHandler<HTMLElement> | - | ComponentProps.onScrollEnd | node_modules/@types/react/index.d.ts:2410 |
onScrollEndCapture? | UIEventHandler<HTMLElement> | - | ComponentProps.onScrollEndCapture | node_modules/@types/react/index.d.ts:2411 |
onWheel? | WheelEventHandler<HTMLElement> | - | ComponentProps.onWheel | node_modules/@types/react/index.d.ts:2414 |
onWheelCapture? | WheelEventHandler<HTMLElement> | - | ComponentProps.onWheelCapture | node_modules/@types/react/index.d.ts:2415 |
onAnimationStart? | AnimationEventHandler<HTMLElement> | - | ComponentProps.onAnimationStart | node_modules/@types/react/index.d.ts:2418 |
onAnimationStartCapture? | AnimationEventHandler<HTMLElement> | - | ComponentProps.onAnimationStartCapture | node_modules/@types/react/index.d.ts:2419 |
onAnimationEnd? | AnimationEventHandler<HTMLElement> | - | ComponentProps.onAnimationEnd | node_modules/@types/react/index.d.ts:2420 |
onAnimationEndCapture? | AnimationEventHandler<HTMLElement> | - | ComponentProps.onAnimationEndCapture | node_modules/@types/react/index.d.ts:2421 |
onAnimationIteration? | AnimationEventHandler<HTMLElement> | - | ComponentProps.onAnimationIteration | node_modules/@types/react/index.d.ts:2422 |
onAnimationIterationCapture? | AnimationEventHandler<HTMLElement> | - | ComponentProps.onAnimationIterationCapture | node_modules/@types/react/index.d.ts:2423 |
onToggle? | ToggleEventHandler<HTMLElement> | - | ComponentProps.onToggle | node_modules/@types/react/index.d.ts:2426 |
onBeforeToggle? | ToggleEventHandler<HTMLElement> | - | ComponentProps.onBeforeToggle | node_modules/@types/react/index.d.ts:2427 |
onTransitionCancel? | TransitionEventHandler<HTMLElement> | - | ComponentProps.onTransitionCancel | node_modules/@types/react/index.d.ts:2430 |
onTransitionCancelCapture? | TransitionEventHandler<HTMLElement> | - | ComponentProps.onTransitionCancelCapture | node_modules/@types/react/index.d.ts:2431 |
onTransitionEnd? | TransitionEventHandler<HTMLElement> | - | ComponentProps.onTransitionEnd | node_modules/@types/react/index.d.ts:2432 |
onTransitionEndCapture? | TransitionEventHandler<HTMLElement> | - | ComponentProps.onTransitionEndCapture | node_modules/@types/react/index.d.ts:2433 |
onTransitionRun? | TransitionEventHandler<HTMLElement> | - | ComponentProps.onTransitionRun | node_modules/@types/react/index.d.ts:2434 |
onTransitionRunCapture? | TransitionEventHandler<HTMLElement> | - | ComponentProps.onTransitionRunCapture | node_modules/@types/react/index.d.ts:2435 |
onTransitionStart? | TransitionEventHandler<HTMLElement> | - | ComponentProps.onTransitionStart | node_modules/@types/react/index.d.ts:2436 |
onTransitionStartCapture? | TransitionEventHandler<HTMLElement> | - | ComponentProps.onTransitionStartCapture | node_modules/@types/react/index.d.ts:2437 |
aria-activedescendant? | string | Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. | ComponentProps.aria-activedescendant | node_modules/@types/react/index.d.ts:2454 |
aria-atomic? | Booleanish | Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. | ComponentProps.aria-atomic | node_modules/@types/react/index.d.ts:2456 |
aria-autocomplete? | "none" | "list" | "inline" | "both" | Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made. | ComponentProps.aria-autocomplete | node_modules/@types/react/index.d.ts:2461 |
aria-braillelabel? | string | Defines a string value that labels the current element, which is intended to be converted into Braille. See aria-label. | ComponentProps.aria-braillelabel | node_modules/@types/react/index.d.ts:2467 |
aria-brailleroledescription? | string | Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See aria-roledescription. | ComponentProps.aria-brailleroledescription | node_modules/@types/react/index.d.ts:2472 |
aria-busy? | Booleanish | - | ComponentProps.aria-busy | node_modules/@types/react/index.d.ts:2473 |
aria-checked? | boolean | "true" | "false" | "mixed" | Indicates the current "checked" state of checkboxes, radio buttons, and other widgets. See - aria-pressed - aria-selected. | ComponentProps.aria-checked | node_modules/@types/react/index.d.ts:2478 |
aria-colcount? | number | Defines the total number of columns in a table, grid, or treegrid. See aria-colindex. | ComponentProps.aria-colcount | node_modules/@types/react/index.d.ts:2483 |
aria-colindex? | number | Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. See - aria-colcount - aria-colspan. | ComponentProps.aria-colindex | node_modules/@types/react/index.d.ts:2488 |
aria-colindextext? | string | Defines a human readable text alternative of aria-colindex. See aria-rowindextext. | ComponentProps.aria-colindextext | node_modules/@types/react/index.d.ts:2493 |
aria-colspan? | number | Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. See - aria-colindex - aria-rowspan. | ComponentProps.aria-colspan | node_modules/@types/react/index.d.ts:2498 |
aria-controls? | string | Identifies the element (or elements) whose contents or presence are controlled by the current element. See aria-owns. | ComponentProps.aria-controls | node_modules/@types/react/index.d.ts:2503 |
aria-current? | boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | Indicates the element that represents the current item within a container or set of related elements. | ComponentProps.aria-current | node_modules/@types/react/index.d.ts:2505 |
aria-describedby? | string | Identifies the element (or elements) that describes the object. See aria-labelledby | ComponentProps.aria-describedby | node_modules/@types/react/index.d.ts:2510 |
aria-description? | string | Defines a string value that describes or annotates the current element. See related aria-describedby. | ComponentProps.aria-description | node_modules/@types/react/index.d.ts:2515 |
aria-details? | string | Identifies the element that provides a detailed, extended description for the object. See aria-describedby. | ComponentProps.aria-details | node_modules/@types/react/index.d.ts:2520 |
aria-disabled? | Booleanish | Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See - aria-hidden - aria-readonly. | ComponentProps.aria-disabled | node_modules/@types/react/index.d.ts:2525 |
aria-dropeffect? | "link" | "none" | "copy" | "execute" | "move" | "popup" | Indicates what functions can be performed when a dragged object is released on the drop target. Deprecated in ARIA 1.1 | ComponentProps.aria-dropeffect | node_modules/@types/react/index.d.ts:2530 |
aria-errormessage? | string | Identifies the element that provides an error message for the object. See - aria-invalid - aria-describedby. | ComponentProps.aria-errormessage | node_modules/@types/react/index.d.ts:2535 |
aria-expanded? | Booleanish | Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. | ComponentProps.aria-expanded | node_modules/@types/react/index.d.ts:2537 |
aria-flowto? | string | Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order. | ComponentProps.aria-flowto | node_modules/@types/react/index.d.ts:2542 |
aria-grabbed? | Booleanish | Indicates an element's "grabbed" state in a drag-and-drop operation. Deprecated in ARIA 1.1 | ComponentProps.aria-grabbed | node_modules/@types/react/index.d.ts:2547 |
aria-haspopup? | | boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. | ComponentProps.aria-haspopup | node_modules/@types/react/index.d.ts:2549 |
aria-hidden? | Booleanish | Indicates whether the element is exposed to an accessibility API. See aria-disabled. | ComponentProps.aria-hidden | node_modules/@types/react/index.d.ts:2554 |
aria-invalid? | boolean | "true" | "false" | "grammar" | "spelling" | Indicates the entered value does not conform to the format expected by the application. See aria-errormessage. | ComponentProps.aria-invalid | node_modules/@types/react/index.d.ts:2559 |
aria-keyshortcuts? | string | Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. | ComponentProps.aria-keyshortcuts | node_modules/@types/react/index.d.ts:2561 |
aria-label? | string | Defines a string value that labels the current element. See aria-labelledby. | ComponentProps.aria-label | node_modules/@types/react/index.d.ts:2566 |
aria-labelledby? | string | Identifies the element (or elements) that labels the current element. See aria-describedby. | ComponentProps.aria-labelledby | node_modules/@types/react/index.d.ts:2571 |
aria-level? | number | Defines the hierarchical level of an element within a structure. | ComponentProps.aria-level | node_modules/@types/react/index.d.ts:2573 |
aria-live? | "off" | "polite" | "assertive" | Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. | ComponentProps.aria-live | node_modules/@types/react/index.d.ts:2575 |
aria-modal? | Booleanish | Indicates whether an element is modal when displayed. | ComponentProps.aria-modal | node_modules/@types/react/index.d.ts:2577 |
aria-multiline? | Booleanish | Indicates whether a text box accepts multiple lines of input or only a single line. | ComponentProps.aria-multiline | node_modules/@types/react/index.d.ts:2579 |
aria-multiselectable? | Booleanish | Indicates that the user may select more than one item from the current selectable descendants. | ComponentProps.aria-multiselectable | node_modules/@types/react/index.d.ts:2581 |
aria-orientation? | "horizontal" | "vertical" | Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. | ComponentProps.aria-orientation | node_modules/@types/react/index.d.ts:2583 |
aria-owns? | string | Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See aria-controls. | ComponentProps.aria-owns | node_modules/@types/react/index.d.ts:2589 |
aria-placeholder? | string | Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format. | ComponentProps.aria-placeholder | node_modules/@types/react/index.d.ts:2594 |
aria-posinset? | number | Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See aria-setsize. | ComponentProps.aria-posinset | node_modules/@types/react/index.d.ts:2599 |
aria-pressed? | boolean | "true" | "false" | "mixed" | Indicates the current "pressed" state of toggle buttons. See - aria-checked - aria-selected. | ComponentProps.aria-pressed | node_modules/@types/react/index.d.ts:2604 |
aria-readonly? | Booleanish | Indicates that the element is not editable, but is otherwise operable. See aria-disabled. | ComponentProps.aria-readonly | node_modules/@types/react/index.d.ts:2609 |
aria-relevant? | | "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See aria-atomic. | ComponentProps.aria-relevant | node_modules/@types/react/index.d.ts:2614 |
aria-required? | Booleanish | Indicates that user input is required on the element before a form may be submitted. | ComponentProps.aria-required | node_modules/@types/react/index.d.ts:2627 |
aria-roledescription? | string | Defines a human-readable, author-localized description for the role of an element. | ComponentProps.aria-roledescription | node_modules/@types/react/index.d.ts:2629 |
aria-rowcount? | number | Defines the total number of rows in a table, grid, or treegrid. See aria-rowindex. | ComponentProps.aria-rowcount | node_modules/@types/react/index.d.ts:2634 |
aria-rowindex? | number | Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. See - aria-rowcount - aria-rowspan. | ComponentProps.aria-rowindex | node_modules/@types/react/index.d.ts:2639 |
aria-rowindextext? | string | Defines a human readable text alternative of aria-rowindex. See aria-colindextext. | ComponentProps.aria-rowindextext | node_modules/@types/react/index.d.ts:2644 |
aria-rowspan? | number | Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. See - aria-rowindex - aria-colspan. | ComponentProps.aria-rowspan | node_modules/@types/react/index.d.ts:2649 |
aria-selected? | Booleanish | Indicates the current "selected" state of various widgets. See - aria-checked - aria-pressed. | ComponentProps.aria-selected | node_modules/@types/react/index.d.ts:2654 |
aria-setsize? | number | Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See aria-posinset. | ComponentProps.aria-setsize | node_modules/@types/react/index.d.ts:2659 |
aria-sort? | "none" | "ascending" | "descending" | "other" | Indicates if items in a table or grid are sorted in ascending or descending order. | ComponentProps.aria-sort | node_modules/@types/react/index.d.ts:2661 |
aria-valuemax? | number | Defines the maximum allowed value for a range widget. | ComponentProps.aria-valuemax | node_modules/@types/react/index.d.ts:2663 |
aria-valuemin? | number | Defines the minimum allowed value for a range widget. | ComponentProps.aria-valuemin | node_modules/@types/react/index.d.ts:2665 |
aria-valuenow? | number | Defines the current value for a range widget. See aria-valuetext. | ComponentProps.aria-valuenow | node_modules/@types/react/index.d.ts:2670 |
aria-valuetext? | string | Defines the human readable text alternative of aria-valuenow for a range widget. | ComponentProps.aria-valuetext | node_modules/@types/react/index.d.ts:2672 |
defaultChecked? | boolean | - | ComponentProps.defaultChecked | node_modules/@types/react/index.d.ts:2750 |
defaultValue? | string | number | readonly string[] | - | ComponentProps.defaultValue | node_modules/@types/react/index.d.ts:2751 |
suppressContentEditableWarning? | boolean | - | ComponentProps.suppressContentEditableWarning | node_modules/@types/react/index.d.ts:2752 |
suppressHydrationWarning? | boolean | - | ComponentProps.suppressHydrationWarning | node_modules/@types/react/index.d.ts:2753 |
accessKey? | string | - | ComponentProps.accessKey | node_modules/@types/react/index.d.ts:2756 |
autoCapitalize? | | "off" | "none" | "on" | "sentences" | "words" | "characters" | string & object | - | ComponentProps.autoCapitalize | node_modules/@types/react/index.d.ts:2757 |
autoFocus? | boolean | - | ComponentProps.autoFocus | node_modules/@types/react/index.d.ts:2758 |
className? | string | - | ComponentProps.className | node_modules/@types/react/index.d.ts:2759 |
contentEditable? | Booleanish | "inherit" | "plaintext-only" | - | ComponentProps.contentEditable | node_modules/@types/react/index.d.ts:2760 |
contextMenu? | string | - | ComponentProps.contextMenu | node_modules/@types/react/index.d.ts:2761 |
dir? | string | - | ComponentProps.dir | node_modules/@types/react/index.d.ts:2762 |
draggable? | Booleanish | - | ComponentProps.draggable | node_modules/@types/react/index.d.ts:2763 |
enterKeyHint? | "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | - | ComponentProps.enterKeyHint | node_modules/@types/react/index.d.ts:2764 |
hidden? | boolean | - | ComponentProps.hidden | node_modules/@types/react/index.d.ts:2765 |
id? | string | - | ComponentProps.id | node_modules/@types/react/index.d.ts:2766 |
lang? | string | - | ComponentProps.lang | node_modules/@types/react/index.d.ts:2767 |
nonce? | string | - | ComponentProps.nonce | node_modules/@types/react/index.d.ts:2768 |
slot? | string | - | ComponentProps.slot | node_modules/@types/react/index.d.ts:2769 |
spellCheck? | Booleanish | - | ComponentProps.spellCheck | node_modules/@types/react/index.d.ts:2770 |
style? | CSSProperties | - | ComponentProps.style | node_modules/@types/react/index.d.ts:2771 |
tabIndex? | number | - | ComponentProps.tabIndex | node_modules/@types/react/index.d.ts:2772 |
title? | string | - | ComponentProps.title | node_modules/@types/react/index.d.ts:2773 |
translate? | "yes" | "no" | - | ComponentProps.translate | node_modules/@types/react/index.d.ts:2774 |
radioGroup? | string | - | ComponentProps.radioGroup | node_modules/@types/react/index.d.ts:2777 |
role? | AriaRole | - | ComponentProps.role | node_modules/@types/react/index.d.ts:2780 |
about? | string | - | ComponentProps.about | node_modules/@types/react/index.d.ts:2783 |
content? | string | - | ComponentProps.content | node_modules/@types/react/index.d.ts:2784 |
datatype? | string | - | ComponentProps.datatype | node_modules/@types/react/index.d.ts:2785 |
inlist? | any | - | ComponentProps.inlist | node_modules/@types/react/index.d.ts:2786 |
prefix? | string | - | ComponentProps.prefix | node_modules/@types/react/index.d.ts:2787 |
property? | string | - | ComponentProps.property | node_modules/@types/react/index.d.ts:2788 |
rel? | string | - | ComponentProps.rel | node_modules/@types/react/index.d.ts:2789 |
resource? | string | - | ComponentProps.resource | node_modules/@types/react/index.d.ts:2790 |
rev? | string | - | ComponentProps.rev | node_modules/@types/react/index.d.ts:2791 |
typeof? | string | - | ComponentProps.typeof | node_modules/@types/react/index.d.ts:2792 |
vocab? | string | - | ComponentProps.vocab | node_modules/@types/react/index.d.ts:2793 |
autoCorrect? | string | - | ComponentProps.autoCorrect | node_modules/@types/react/index.d.ts:2796 |
autoSave? | string | - | ComponentProps.autoSave | node_modules/@types/react/index.d.ts:2797 |
color? | string | - | ComponentProps.color | node_modules/@types/react/index.d.ts:2798 |
itemProp? | string | - | ComponentProps.itemProp | node_modules/@types/react/index.d.ts:2799 |
itemScope? | boolean | - | ComponentProps.itemScope | node_modules/@types/react/index.d.ts:2800 |
itemType? | string | - | ComponentProps.itemType | node_modules/@types/react/index.d.ts:2801 |
itemID? | string | - | ComponentProps.itemID | node_modules/@types/react/index.d.ts:2802 |
itemRef? | string | - | ComponentProps.itemRef | node_modules/@types/react/index.d.ts:2803 |
results? | number | - | ComponentProps.results | node_modules/@types/react/index.d.ts:2804 |
security? | string | - | ComponentProps.security | node_modules/@types/react/index.d.ts:2805 |
unselectable? | "off" | "on" | - | ComponentProps.unselectable | node_modules/@types/react/index.d.ts:2806 |
popover? | "" | "auto" | "manual" | "hint" | - | ComponentProps.popover | node_modules/@types/react/index.d.ts:2809 |
popoverTargetAction? | "toggle" | "show" | "hide" | - | ComponentProps.popoverTargetAction | node_modules/@types/react/index.d.ts:2810 |
popoverTarget? | string | - | ComponentProps.popoverTarget | node_modules/@types/react/index.d.ts:2811 |
inert? | boolean | See https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert | ComponentProps.inert | node_modules/@types/react/index.d.ts:2817 |
inputMode? | | "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | Hints at the type of data that might be entered by the user while editing the element or its contents See https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute | ComponentProps.inputMode | node_modules/@types/react/index.d.ts:2822 |
is? | string | Specify that a standard HTML element should behave like a defined custom built-in element See https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is | ComponentProps.is | node_modules/@types/react/index.d.ts:2827 |
exportparts? | string | See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/exportparts | ComponentProps.exportparts | node_modules/@types/react/index.d.ts:2831 |
part? | string | See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/part | ComponentProps.part | node_modules/@types/react/index.d.ts:2835 |
Notification()
function Notification(__namedParameters): Element;
Defined in: src/molecules/Notifications/Notification.tsx:89
Notification component that provides a complete notification UI.
It composes smaller atomic notification elements, which can be reused to create your own composition of Notification. It can be configured as a clickable link or standalone notification with actions. The notification's read status affects styling through the context passed to child components.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | NotificationProps |
Returns
Element
Examples
// Basic notification with title and message
<Notification
title="New message"
message="You have a new message from Dr. Smith"
isRead={false}
/>
// Complete link notification
<Notification
title="Appointment reminder"
image="/profile-image.jpg"
message="Your appointment with Dr. Smith is tomorrow at 2:00 PM"
time={new Date("2024-07-15T14:00:00")}
link="/appointments/123"
isRead={false}
/>
// Notification with additional actions
<Notification
title="New message"
message="You have a new message from Dr. Smith"
actions={<Button>Dismiss message</Button>}
/>
NotificationActions()
function NotificationActions(__namedParameters): Element;
Defined in: src/molecules/Notifications/NotificationActions.tsx:20
Container for additional notification actions. Some actions might add call to actions about notified, like "Delete", "Mark as read" and others.
It captures and prevents propagation of all click events to avoid conflicts with parent Link elements.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | NotificationActionsProps |
Returns
Element
NotificationContentContainer()
function NotificationContentContainer(__namedParameters): Element;
Defined in: src/molecules/Notifications/NotificationContentContainer.tsx:24
Container for Notification's main content.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | NotificationContentContainerProps |
Returns
Element
Example
<NotificationContentContainer>
<NotificationMessage>You received a new message!</NotificationMessage>
</NotificationContentContainer>
NotificationHeader()
function NotificationHeader(__namedParameters): Element;
Defined in: src/molecules/Notifications/NotificationHeader.tsx:25
Header component for notifications that provides a container for title, time and other elements.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | NotificationHeaderProps |
Returns
Element
Example
<NotificationHeader>
<NotificationTitle>New Message</NotificationTitle>
<NotificationTime time={new Date()} />
</NotificationHeader>
NotificationImage()
function NotificationImage(__namedParameters): Element;
Defined in: src/molecules/Notifications/NotificationImage.tsx:36
Notification image component that either renders an image or a default info icon. Handles both custom notification images and a fallback icon when an image is not provided.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | NotificationImageProps |
Returns
Element
Examples
// With image URL
<NotificationImage src="/notification-image.jpg" alt="New message" />
// Without image - shows a default icon
<NotificationImage src={undefined} />
NotificationLink()
function NotificationLink(__namedParameters): Element;
Defined in: src/molecules/Notifications/NotificationLink.tsx:22
Composes NotificationRoot to provide a linkable notification.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | NotificationLinkProps |
Returns
Element
NotificationMessage()
function NotificationMessage(__namedParameters): Element;
Defined in: src/molecules/Notifications/NotificationMessage.tsx:18
Main content of the notification.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | NotificationMessageProps |
Returns
Element
NotificationRoot()
function NotificationRoot(__namedParameters): Element;
Defined in: src/molecules/Notifications/NotificationRoot.tsx:38
Root component for notifications that provides context and styling.
Renders a notification article element with consistent styling and layout. Can render as a custom component when asChild is true. Provides notification context to child components.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | NotificationRootProps |
Returns
Element
Example
// Basic notification root
<NotificationRoot notification={{ isRead: false }}>
<NotificationContent />
</NotificationRoot>
NotificationTime()
function NotificationTime(__namedParameters): Element;
Defined in: src/molecules/Notifications/NotificationTime.tsx:29
Component responsible for rendering time in a notification with proper formatting and styling based on read status.
Time is displayed in the user's locale format, including both date and time.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | NotificationTimeProps |
Returns
Element
Example
<NotificationTime time={new Date("2024-01-01T12:00:00")} />
NotificationTitle()
function NotificationTitle(__namedParameters): Element;
Defined in: src/molecules/Notifications/NotificationTitle.tsx:24
Title component for notification. Adjusts its styling based on notification read status from context.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | NotificationTitleProps |
Returns
Element
Example
<NotificationTitle>New message received</NotificationTitle>