From 0bbef6205cdfaa12a6364066fb346be59a3beaeb Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Thu, 5 May 2022 16:42:05 -0400 Subject: [PATCH] fix(striker-ui): hoist InputMessageBox --- striker-ui/components/InputMessageBox.tsx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 striker-ui/components/InputMessageBox.tsx diff --git a/striker-ui/components/InputMessageBox.tsx b/striker-ui/components/InputMessageBox.tsx new file mode 100644 index 00000000..8f2edf86 --- /dev/null +++ b/striker-ui/components/InputMessageBox.tsx @@ -0,0 +1,19 @@ +import { FC } from 'react'; + +import MessageBox, { MessageBoxProps } from './MessageBox'; + +const InputMessageBox: FC> = ({ + sx, + text, + ...restProps +} = {}) => ( + <> + {text && ( + + )} + +); +export default InputMessageBox;