UNPKG

@stoplight/elements-core

Version:
18 lines (17 loc) • 609 B
import { HeadingProps, PanelProps } from '@stoplight/mosaic'; import * as React from 'react'; export interface ISectionTitle { title: string; id?: string; size?: HeadingProps['size']; isCompact?: boolean; } export declare const SectionTitle: React.FC<ISectionTitle>; export declare const SectionSubtitle: React.FC<ISectionTitle>; declare type SubSectionPanelProps = { title: React.ReactNode; hasContent?: boolean; rightComponent?: React.ReactNode; }; export declare const SubSectionPanel: React.FC<SubSectionPanelProps & Pick<PanelProps, 'defaultIsOpen' | 'onChange'>>; export {};