import * as React from 'react'; import classNames from 'classnames'; import styles from '@/components/server/console/style.module.css'; interface ChartBlockProps { title: string; legend?: React.ReactNode; children: React.ReactNode; } export default ({ title, legend, children }: ChartBlockProps) => (

{title}

{legend &&

{legend}

}
{children}
);