geostyler
Version:
Framework for styling geodata
15 lines (14 loc) • 660 B
TypeScript
import { default as React } from 'react';
import { JoinType, Expression, LineSymbolizer } from 'geostyler-style';
import { StringExpressionSelectProps } from '../../../ExpressionInput/StringExpressionSelect/StringExpressionSelect';
export interface LineJoinFieldProps {
joinOptions?: JoinType[];
onChange?: (join: LineSymbolizer['join'] | Expression<string>) => void;
value?: LineSymbolizer['join'] | Expression<string>;
}
type SelectProps = StringExpressionSelectProps['selectProps'];
/**
* LineJoinField to select between different line-join options
*/
export declare const LineJoinField: React.FC<LineJoinFieldProps & SelectProps>;
export {};