design-system-silkhaus 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +39 -0
- package/dist/index.cjs +2543 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +2539 -0
- package/dist/style.css +781 -0
- package/package.json +93 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React_2 } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
|
|
5
|
+
export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6
|
+
/**
|
|
7
|
+
* The color of the button.
|
|
8
|
+
*/
|
|
9
|
+
color?: 'base' | 'primary' | 'secondary' | 'tertiary' | 'quaternary';
|
|
10
|
+
/**
|
|
11
|
+
* The size of the button.
|
|
12
|
+
*/
|
|
13
|
+
size?: 'small' | 'large';
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { }
|