UNPKG

@seasketch/geoprocessing

Version:

Geoprocessing and reporting framework for SeaSketch 2.0

12 lines (11 loc) 555 B
import { ReportContextValue } from "../../context/index.js"; /** * Decorator that renders a story into ReportStoryLayout. */ export declare const ReportDecorator: (storyFn: any) => JSX.Element; export default ReportDecorator; /** * Think of this as a ReportDecorator generator, that allows you to pass in context and override the default * The only reason to use this instead of ReportDecorator directly is to pass context */ export declare const createReportDecorator: (reportContext?: Partial<ReportContextValue>) => (storyFn: any) => JSX.Element;