UNPKG

@stoplight/elements-core

Version:

[![docs](https://img.shields.io/badge/API%20Docs-site-green.svg?style=flat-square)](https://meta.stoplight.io/docs/elements) [![license](https://img.shields.io/npm/l/@stoplight/elements?style=flat-square)](./LICENSE)

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 {};