import React from 'react';
import styles from './panel.scss';
import icons from './icons.scss';
export function Panel(props) {
var { title, icon } = props;
if (icon) {
icon = (
);
}
if (title) {
title = (
{icon}
{title}
);
}
return (
{title}
{props.children}
);
}
export function PanelHeader(props) {
return (
{props.children}
);
}
export function PanelBody(props) {
return (
{props.children}
);
}
export function PanelFooter(props) {
return (
{props.children}
);
}
export function PanelError(props) {
var { message } = props;
return (
{message}
);
}