react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
18 lines (14 loc) • 683 B
text/typescript
;
// TODO: Fix me
// @ts-ignore RNSVG doesn't export types for web, see https://github.com/software-mansion/react-native-svg/pull/2801
import type { PolylineProps } from 'react-native-svg';
import { processPolylinePoints } from '../processors';
import type { SvgStyleBuilderConfig } from './common';
import { SVG_COMMON_PROPERTIES_CONFIG } from './common';
// TODO: Fix me
// @ts-ignore RNSVG doesn't export types for web, see https://github.com/software-mansion/react-native-svg/pull/2801
export const SVG_POLYLINE_PROPERTIES_CONFIG: SvgStyleBuilderConfig<PolylineProps> =
{
...SVG_COMMON_PROPERTIES_CONFIG,
points: { process: processPolylinePoints },
};