Skip to content

Commit

Permalink
fix: Component types in SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
areknawo committed May 11, 2024
1 parent 43b88ff commit c21b98f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/sdk/javascript/package.json
@@ -1,6 +1,6 @@
{
"name": "@vrite/sdk",
"version": "0.4.5",
"version": "0.4.6",
"private": false,
"description": "JavaScript SDK and API client for Vrite - open-source developer content platform",
"license": "MIT",
Expand Down
10 changes: 8 additions & 2 deletions packages/sdk/javascript/src/extensions/index.ts
Expand Up @@ -253,11 +253,17 @@ interface ExtensionBaseComponents {
}>;
Button: ExtensionBaseComponent<
{
color: "base" | "contrast" | "primary";
text: "base" | "contrast" | "primary" | "soft";
color: "base" | "contrast" | "primary" | "danger" | "success";
text: "base" | "contrast" | "primary" | "soft" | "danger" | "success";
class: string;
loading: boolean;
disabled: boolean;
hover: boolean;
badge: boolean;
variant: "text" | "solid";
size: "small" | "medium" | "large";
target: string;
link: string;
},
"click"
>;
Expand Down

0 comments on commit c21b98f

Please sign in to comment.