diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-04-15 14:49:41 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-04-15 14:49:41 +0200 |
| commit | 64570357f9608ad6638b1f8cc283ee9dd1cc3264 (patch) | |
| tree | 32d95b6299f4c8b220af728b2173f040e526edd6 /src/components/atoms/layout | |
| parent | b836f0a9f8b783e3328983ad087aa2b7b297b43a (diff) | |
chore: add a ContactForm component
Diffstat (limited to 'src/components/atoms/layout')
| -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}`; |
