import classNames from 'classnames'; import type { HTMLAttributes, ReactNode } from 'react'; import type { BannerProps } from './Banner'; import { Banner } from './Banner'; interface Props extends HTMLAttributes { summary: ReactNode; color?: BannerProps['color']; open?: boolean; } export function DetailsBanner({ className, color, summary, children, ...extraProps }: Props) { return (
{summary}
{children}
); }