@bouko/react 0.3.9 → 0.4.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/dist/components/button.d.ts +2 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
|
-
type
|
|
2
|
+
export type ButtonProps = {
|
|
3
3
|
variant?: "primary" | "outline" | "ghost";
|
|
4
4
|
size?: "sm" | "md" | "lg";
|
|
5
5
|
style?: string;
|
|
6
6
|
onClick?: () => void;
|
|
7
7
|
children: ReactNode;
|
|
8
8
|
};
|
|
9
|
-
export default function Button({ variant, style, ...props }:
|
|
10
|
-
export {};
|
|
9
|
+
export default function Button({ variant, style, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ export { default as TextArea } from "./components/textarea";
|
|
|
3
3
|
export { default as Select } from "./components/select";
|
|
4
4
|
export { default as MultipleChoice } from "./components/multiple-choice";
|
|
5
5
|
export { default as Attachment } from "./components/attachment";
|
|
6
|
-
export { default as Button } from "./components/button";
|
|
7
6
|
export { default as CheckBox } from "./components/checkbox";
|
|
8
7
|
export { default as Heading } from "./components/heading";
|
|
9
8
|
export { default as Badge } from "./components/badge";
|
|
10
9
|
export * from "./components/flex";
|
|
10
|
+
export * from "./components/button";
|
|
11
11
|
export * from "./core/types";
|
|
12
12
|
export * from "./core/functions";
|
|
13
13
|
export * from "./core/format";
|
package/dist/index.js
CHANGED
|
@@ -3,11 +3,11 @@ export { default as TextArea } from "./components/textarea";
|
|
|
3
3
|
export { default as Select } from "./components/select";
|
|
4
4
|
export { default as MultipleChoice } from "./components/multiple-choice";
|
|
5
5
|
export { default as Attachment } from "./components/attachment";
|
|
6
|
-
export { default as Button } from "./components/button";
|
|
7
6
|
export { default as CheckBox } from "./components/checkbox";
|
|
8
7
|
export { default as Heading } from "./components/heading";
|
|
9
8
|
export { default as Badge } from "./components/badge";
|
|
10
9
|
export * from "./components/flex";
|
|
10
|
+
export * from "./components/button";
|
|
11
11
|
export * from "./core/types";
|
|
12
12
|
export * from "./core/functions";
|
|
13
13
|
export * from "./core/format";
|