diff options
Diffstat (limited to 'src/components/atoms/layout/notice.tsx')
| -rw-r--r-- | src/components/atoms/layout/notice.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/atoms/layout/notice.tsx b/src/components/atoms/layout/notice.tsx index e919182..b6e09c5 100644 --- a/src/components/atoms/layout/notice.tsx +++ b/src/components/atoms/layout/notice.tsx @@ -14,6 +14,11 @@ export type NoticeProps = { message: string; }; +/** + * Notice component + * + * Render a colored message depending on notice kind. + */ const Notice: VFC<NoticeProps> = ({ kind, message }) => { const kindClass = `wrapper--${kind}`; |
