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