UNPKG
@while-and-for/tremor-react
Version:
latest (0.0.1-development)
0.0.1-development
0.0.0-development
The React library to build dashboards faster.
github.com/tremorlabs/tremor
tremorlabs/tremor
@while-and-for/tremor-react
/
dist
/
components
/
chart-elements
/
DonutChart
/
inputParser.d.ts
4 lines
(3 loc)
•
283 B
TypeScript
View Raw
1
2
3
4
import
{
Color
,
ValueFormatter
}
from
"../../../lib/inputTypes"
;
export
declare
const
parseData
:
(
data
:
any
[],
colors
:
Color
[]
) =>
any
[];
export
declare
const
parseLabelInput
:
(
labelInput
:
string
|
undefined
,
valueFormatter
:
ValueFormatter
,
data
:
any
[],
category
:
string
) =>
string
;