Initial commit from agent-native create
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export * from "@agent-native/toolkit/ui/button";
|
||||
@@ -0,0 +1 @@
|
||||
export * from "@agent-native/toolkit/ui/card";
|
||||
@@ -0,0 +1 @@
|
||||
export * from "@agent-native/toolkit/ui/dropdown-menu";
|
||||
@@ -0,0 +1 @@
|
||||
export * from "@agent-native/toolkit/ui/input";
|
||||
@@ -0,0 +1 @@
|
||||
export * from "@agent-native/toolkit/ui/label";
|
||||
@@ -0,0 +1 @@
|
||||
export * from "@agent-native/toolkit/ui/sheet";
|
||||
@@ -0,0 +1,17 @@
|
||||
import { ToolkitProvider, type ToolkitComponents } from "@agent-native/toolkit";
|
||||
import type { ReactNode } from "react";
|
||||
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { designSystem } from "@/design-system";
|
||||
|
||||
const components: ToolkitComponents = {
|
||||
Button: Button as ToolkitComponents["Button"],
|
||||
};
|
||||
|
||||
export function AppToolkitProvider({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<ToolkitProvider components={components} designSystem={designSystem}>
|
||||
{children}
|
||||
</ToolkitProvider>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
export * from "@agent-native/toolkit/ui/tooltip";
|
||||
Reference in New Issue
Block a user