From 0258d9c5d961a736561a75596351e6e794119828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BAlia=20Jaeger=20Foresti?= <60678893+juliajforesti@users.noreply.github.com> Date: Thu, 31 Mar 2022 19:50:09 -0300 Subject: [PATCH] chore: Add title to MessageSystemProps type (#676) Co-authored-by: Guilherme Gazzo --- .../src/components/Message/MessageSystem/MessageSystem.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.tsx b/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.tsx index 5381fc2ba7..e35ae0a9e5 100644 --- a/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.tsx +++ b/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.tsx @@ -5,10 +5,11 @@ import './MessageSystem.styles.scss'; type MessageSystemProps = { children?: ReactNode; + title?: string; }; -export const MessageSystem = (props: MessageSystemProps) => ( -
- {props.children} +export const MessageSystem = ({ children, title }: MessageSystemProps) => ( +
+ {children}
);