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
/
common
/
ChartLegend.d.ts
5 lines
(4 loc)
•
260 B
TypeScript
View Raw
1
2
3
4
5
import
React
from
"react"
;
import
{
Color
}
from
"../../../lib"
;
declare
const
ChartLegend
:
(
{ payload }:
any
,
categoryColors
:
Map
<
string
,
Color
>,
setLegendHeight
:
React
.
Dispatch
<
React
.
SetStateAction
<
number
>>
) =>
React
.
JSX
.
Element
;
export
default
ChartLegend
;