UNPKG
enzo-ts-rc
Version:
latest (0.1.2)
0.1.2
0.1.1
0.1.0
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
A React component library built with TypeScript
enzo-ts-rc
/
dist
/
cjs
/
types
/
components
/
Button
/
Button.d.ts
8 lines
(7 loc)
•
195 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
React
from
'react'
;
export
interface
ButtonProps
{
text
:
string
;
onClick
?:
() =>
void
;
variant
?:
'primary'
|
'secondary'
; }
export
declare
const
Button
:
React
.
FC
<
ButtonProps
>;