mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-07 09:49:07 +00:00
Add missing {x/y}{Min/Max} types to ChartProps (#36248)
* Add missing {x/y}{Min/Max} types to ChartProps
* Correct the property name
This commit is contained in:
committed by
Daniel Rosenwasser
parent
7e22b53ab9
commit
ad587c5a6f
4
types/react-native-svg-charts/index.d.ts
vendored
4
types/react-native-svg-charts/index.d.ts
vendored
@@ -54,6 +54,10 @@ export interface ChartProps<T> {
|
||||
yScale?: ScaleFunction;
|
||||
xAccessor?: AccessorFunction<T, number>;
|
||||
yAccessor?: AccessorFunction<T, number>;
|
||||
yMin?: number;
|
||||
yMax?: number;
|
||||
xMin?: number;
|
||||
xMax?: number;
|
||||
}
|
||||
|
||||
// Line Chart
|
||||
|
||||
Reference in New Issue
Block a user