UNPKG
atomic-design-button
Version:
latest (1.0.10)
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Primary Button component using Atomic Design principles
atomic-design-button
/
dist
/
components
/
atoms
/
primaryButton.d.ts
8 lines
(7 loc)
•
217 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
type
Props
= {
label
:
string
;
onClick
?:
() =>
void
;
className
?:
string
; };
export
declare
const
PrimaryButton
:
(
{ label, onClick, className }:
Props
) =>
import
(
"react/jsx-runtime"
).
JSX
.
Element
;
export
{};