import { AnimatedProps } from '@react-spring/web'; import { ValueFormat } from '@nivo/core'; import { FunctionComponent } from 'react'; import { TicksSpec } from '@nivo/scales'; import { PartialTheme, Theme } from '@nivo/theming'; export interface RadialAxisTickAnimatedProps { y: number; textX: number; rotation: number; length: number; opacity: number; } export interface RadialAxisTickProps { label: string | number; y: number; rotation: number; textX: number; length: number; textAnchor: 'start' | 'end'; theme: Theme['axis']; animated: AnimatedProps; } export type RadialAxisTickComponent = FunctionComponent; export interface RadialAxisConfig { ticks?: TicksSpec; tickSize?: number; tickPadding?: number; tickRotation?: number; format?: ValueFormat; tickComponent?: RadialAxisTickComponent; style?: PartialTheme['axis']; ariaHidden?: boolean; } export interface CircularAxisTickAnimatedProps { angle: number; x1: number; y1: number; x2: number; y2: number; textX: number; textY: number; opacity: number; } export interface CircularAxisTickProps { label: string | number; theme: Theme['axis']; animated: AnimatedProps; } export type CircularAxisTickComponent = FunctionComponent; export interface CircularAxisConfig { tickSize?: number; tickPadding?: number; tickRotation?: number; format?: ValueFormat; tickComponent?: CircularAxisTickComponent; style?: PartialTheme['axis']; ariaHidden?: boolean; } //# sourceMappingURL=types.d.ts.map