UNPKG

@tanstack/charts

Version:

<div align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/api/readme/charts.png?theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/

10 lines (9 loc) 538 B
import type { ColorValue } from 'react-native'; export interface NativePaintContext { color: ColorValue; /** Native equivalent of the browser `Canvas` system color. */ canvas?: ColorValue; } export type NativePaintResolver = (paint: string, context: NativePaintContext) => ColorValue; export declare function resolveNativePaint(paint: string, context: NativePaintContext): ColorValue; export declare function resolveNativeSolidPaint(paint: string, context: NativePaintContext, resolvePaint?: NativePaintResolver): ColorValue;