UNPKG

geostyler

Version:
15 lines (14 loc) 712 B
import { default as React } from 'react'; import { Rule as GsRule } from 'geostyler-style'; import { RuleComposableProps } from '../RuleCard/RuleCard'; export type RuleOverviewComposableProps = Pick<RuleComposableProps, 'filterField'>; export interface RuleOverviewInternalProps { /** The callback when the style changed. */ onRuleChange?: (rule: GsRule) => void; /** The callback when a view change (request) was triggered. */ onChangeView?: (view: string, indices: number[]) => void; /** A GeoStyler-Style object. */ rule: GsRule; } export type RuleOverviewProps = RuleOverviewInternalProps & RuleOverviewComposableProps; export declare const RuleOverview: React.FC<RuleOverviewProps>;