@jackcrane/ui 0.1.5 → 0.1.8
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/dist/components/Button/button.d.ts +2 -0
- package/dist/components/Hatch/hatch.d.ts +2 -1
- package/dist/jcui.cjs.js +251 -162
- package/dist/jcui.es.js +251 -162
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* @param {boolean} props.chamfer - Whether to apply a chamfer effect to the button.
|
|
8
8
|
* @param {string} props.size - Size of the button. Either large or small. Defaults to medium.
|
|
9
9
|
* @param {boolean} props.disabled - Whether the button is disabled.
|
|
10
|
+
* @param {boolean} props.loading - Whether the button is loading.
|
|
10
11
|
* @returns {JSX.Element}
|
|
11
12
|
*/
|
|
12
13
|
export default function Button({ children, variant, chamfer, size, disabled, loading, ...props }: {
|
|
@@ -15,5 +16,6 @@ export default function Button({ children, variant, chamfer, size, disabled, loa
|
|
|
15
16
|
chamfer: boolean;
|
|
16
17
|
size: string;
|
|
17
18
|
disabled: boolean;
|
|
19
|
+
loading: boolean;
|
|
18
20
|
}): JSX.Element;
|
|
19
21
|
export function ColorSwitcher(): import("react/jsx-runtime").JSX.Element;
|