diff --git a/striker-ui/components/InnerPanel.tsx b/striker-ui/components/InnerPanel.tsx index cf2c8b8d..1e0a96d5 100644 --- a/striker-ui/components/InnerPanel.tsx +++ b/striker-ui/components/InnerPanel.tsx @@ -1,7 +1,11 @@ +import { ReactNode } from 'react'; import { Box } from '@material-ui/core'; import { makeStyles } from '@material-ui/core/styles'; import { TEXT } from '../lib/consts/DEFAULT_THEME'; -import { BodyText } from './Text'; + +type Props = { + children: ReactNode; +}; const useStyles = makeStyles(() => ({ innerBody: { @@ -22,14 +26,10 @@ const useStyles = makeStyles(() => ({ }, })); -const InnerPanel = (): JSX.Element => { +const InnerPanel = ({ children }: Props): JSX.Element => { const classes = useStyles(); - return ( - - - - ); + return {children}; }; export default InnerPanel;