UNPKG

@helpwave/hightide

Version:

helpwave's component and theming library

15 lines (12 loc) 505 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { PropsWithChildren, ReactNode } from 'react'; type HideableContentSectionProps = PropsWithChildren & { initiallyOpen?: boolean; disabled: boolean; header: ReactNode; }; /** * A Component to hide and show */ declare const HideableContentSection: ({ initiallyOpen, disabled, children, header }: HideableContentSectionProps) => react_jsx_runtime.JSX.Element; export { HideableContentSection, type HideableContentSectionProps };