import React from 'react'; /** * Toolbar component * * @param {object} props * @param {string} props.type Type of toolbar, eg. header or footer */ export function Toolbar(props) { switch (props.type) { case 'header': return ( {props.children} ); case 'footer': return ( ); default: return (