Skip to content

Commit b74b29b

Browse files
committed
fix(config): update schema path and export config in .flowbite-react/init.(jsx|tsx)
1 parent 942a6da commit b74b29b

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

apps/storybook/.flowbite-react/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "../../../node_modules/flowbite-react/schema.json",
2+
"$schema": "https://unpkg.com/flowbite-react/schema.json",
33
"components": [],
44
"dark": true,
55
"path": "src/components",

apps/storybook/.flowbite-react/init.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import { StoreInit } from "flowbite-react/store/init";
1010
import React from "react";
1111

12-
const config = {
12+
export const config = {
1313
dark: true,
1414
prefix: "",
1515
version: 3,

apps/web/.flowbite-react/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "../../../node_modules/flowbite-react/schema.json",
2+
"$schema": "https://unpkg.com/flowbite-react/schema.json",
33
"components": [],
44
"dark": true,
55
"path": "components",

apps/web/.flowbite-react/init.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import { StoreInit } from "flowbite-react/store/init";
1010
import React from "react";
1111

12-
const config = {
12+
export const config = {
1313
dark: true,
1414
prefix: "",
1515
version: 3,

packages/ui/src/cli/commands/setup-init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export async function setupInit(config: Config) {
2222
import { StoreInit } from "flowbite-react/store/init";
2323
import React from "react";
2424
25-
const config = {
25+
export const config = {
2626
dark: ${config.dark},
2727
prefix: "${config.prefix}",
2828
version: ${config.version},

0 commit comments

Comments
 (0)