Skip to content

Commit

Permalink
fix: formbuilder classname and export packages
Browse files Browse the repository at this point in the history
  • Loading branch information
bearkfear committed Aug 8, 2024
1 parent 2dafa50 commit 6f078e6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@continha/ui",
"version": "1.3.0",
"version": "1.3.1",
"private": false,
"repository": {
"url": "https://github.com/bearkfear/ui"
Expand Down
11 changes: 9 additions & 2 deletions src/components/ui/form/form-builder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,15 @@ const FormFields = (props: Omit<FormConfig, "render">) => {
);
};

const Root = ({ children }: PropsWithChildren<{ className?: string }>) => {
return <div className="grid grid-cols-12 grid-rows-1">{children}</div>;
const Root = ({
children,
className,
}: PropsWithChildren<{ className?: string }>) => {
return (
<div className={cn("grid grid-cols-12 grid-rows-1 gap-2", className)}>
{children}
</div>
);
};

export const FormBuilder = {
Expand Down

0 comments on commit 6f078e6

Please sign in to comment.