import React from 'react'; import Paper from '../components/Paper'; import Button, { Props as ButtonProps } from '../components/Button'; export interface Action extends ButtonProps { name: string; } interface Props { title?: string; actions?: Action[]; className?: string; } const Page: React.FC = ({ title, actions, className, children }) => (
{title}
{actions?.map(action => ())}
{children}
); export default Page;