import React, { PropsWithChildren } from 'react';
import classNames from 'classnames';
import { PropsWithElementAttributes } from '../utils';
export type PanelProps = PropsWithElementAttributes<
PropsWithChildren<{
panelStyle?: 'rounded' | 'square';
}>
>;
export const Panel = ({ children, panelStyle = 'rounded', className, style }: PanelProps) => (
{children}
);
type ChildPanelProps = Omit;
export type PanelContentProps = ChildPanelProps;
export type PanelFooterProps = ChildPanelProps;
export type PanelHeadingProps = ChildPanelProps;
export const PanelContent = ({ children, className, style }: PanelContentProps) => (
{children}
);
// eslint-disable-next-line sonarjs/no-identical-functions
export const PanelFooter = ({ children, className, style }: PanelFooterProps) => (
{children}
);
// eslint-disable-next-line sonarjs/no-identical-functions
export const PanelHeading = ({ children, className, style }: PanelHeadingProps) => (
{children}
);