UNPKG

geostyler

Version:
15 lines (14 loc) 649 B
import { default as React } from 'react'; import { CapType, Expression, LineSymbolizer } from 'geostyler-style'; import { StringExpressionSelectProps } from '../../../ExpressionInput/StringExpressionSelect/StringExpressionSelect'; export interface LineCapFieldProps { capOptions?: CapType[]; onChange?: (cap: LineSymbolizer['cap'] | Expression<string>) => void; value?: LineSymbolizer['cap'] | Expression<string>; } type SelectProps = StringExpressionSelectProps['selectProps']; /** * LineCapField to select between different line-cap options */ export declare const LineCapField: React.FC<LineCapFieldProps & SelectProps>; export {};