UNPKG
react-headless-accordion
Version:
latest (1.0.2)
1.0.2
1.0.1
A headless nested accordion made with react
onesine/react-headless-accordion
react-headless-accordion
/
dist
/
types
/
index.d.ts
8 lines
(7 loc)
•
156 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
export
interface
Transition
{
duration
?:
string
;
timingFunction
?:
string
; }
export
interface
Items
{ [
key
:
string
]:
(
value
:
boolean
) =>
void
; }