import React from 'react'; import { Stack, Text } from 'soapbox/components/ui'; interface IWidgetTitle { title: string | React.ReactNode } const WidgetTitle = ({ title }: IWidgetTitle): JSX.Element => ( {title} ); const WidgetBody: React.FC = ({ children }): JSX.Element => ( {children} ); interface IWidget { title: string | React.ReactNode, } const Widget: React.FC = ({ title, children }): JSX.Element => { return ( {children} ); }; export default Widget;