import { IconError } from './icons'; export default ({title, error, errorText, children}) => (
{ title ? (

{title}

) : "" } { children }
{(error ?
{ IconError } {errorText}
: "") }
);