UNPKG
@onethousandswaps-libs/uikit
Version:
latest (1.0.0)
1.0.0
User interface package for One THousand Swaps apps
@onethousandswaps-libs/uikit
/
components
/
Progress
/
types.ts
14 lines
(11 loc)
•
273 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export
const
variants = {
ROUND
:
"round"
,
FLAT
:
"flat"
, }
as
const
;
export
type
Variant
=
typeof
variants[keyof
typeof
variants];
export
interface
ProgressProps
{
variant
?:
Variant
;
primaryStep
?:
number
;
secondaryStep
?:
number
;
showProgressBunny
?:
boolean
; }