UNPKG

react-styleguidist

Version:
28 lines (27 loc) 752 B
import React, { Component } from 'react'; import * as Rsg from '../../../typings'; export interface StyleGuideProps { codeRevision: number; cssRevision: string; config: Rsg.ProcessedStyleguidistConfig; slots: any; sections: Rsg.Section[]; welcomeScreen?: boolean; patterns?: string[]; displayMode?: string; allSections?: Rsg.Section[]; pagePerSection?: boolean; } interface StyleGuideState { error: Error | boolean; info: React.ErrorInfo | null; } export default class StyleGuide extends Component<StyleGuideProps, StyleGuideState> { state: { error: boolean; info: null; }; componentDidCatch(error: Error, info: React.ErrorInfo): void; render(): JSX.Element; } export {};