import React from 'react'; import Paper from '../components/Paper'; import Button from '../components/Button'; import { Action } from '../lib/ServiceContext'; interface Props { title?: string; actions?: Action[]; className?: string; } const style = 'mb-2 flex justify-between md:flex-row md:items-center'; const Page: React.FC = ({ title, actions, className, children }) => (
1 ? 'flex-col items-start' : 'flex-row items-center'}`}> {title}
{actions?.map(action => ())}
{children}
); export default Page;