geostyler
Version:
Framework for styling geodata
19 lines (18 loc) • 645 B
TypeScript
import { default as React } from 'react';
import { Style as GsStyle } from 'geostyler-style';
export interface StyleComposableProps {
nameField?: {
visibility?: boolean;
};
/** Should the classification be disabled */
disableClassification?: boolean;
disableMultiEdit?: boolean;
}
export interface StyleInternalProps {
/** The geoStylerStyle object */
style?: GsStyle;
/** The callback function that is triggered when the state changes */
onStyleChange?: (style: GsStyle) => void;
}
export type StyleProps = StyleInternalProps & StyleComposableProps;
export declare const Style: React.FC<StyleProps>;