Skip to content

Commit 47e2ac0

Browse files
committed
chore: update flowbite-react configuration and add auto-generated theme initialization component
1 parent 5378ad8 commit 47e2ac0

2 files changed

Lines changed: 25 additions & 2 deletions

File tree

.flowbite-react/config.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"$schema": "https://unpkg.com/flowbite-react/schema.json",
33
"components": [],
44
"dark": true,
5-
"prefix": "",
65
"path": "src/components",
6+
"prefix": "",
7+
"rsc": true,
78
"tsx": true,
8-
"rsc": true
9+
"version": 3
910
}

.flowbite-react/init.tsx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/* eslint-disable */
2+
// @ts-nocheck
3+
// biome-ignore-all lint: auto-generated file
4+
5+
// This file is auto-generated by the flowbite-react CLI.
6+
// Do not edit this file directly.
7+
// Instead, edit the .flowbite-react/config.json file.
8+
9+
import { StoreInit } from "flowbite-react/store/init";
10+
import React from "react";
11+
12+
export const CONFIG = {
13+
dark: true,
14+
prefix: "",
15+
version: 3,
16+
};
17+
18+
export function ThemeInit() {
19+
return <StoreInit {...CONFIG} />;
20+
}
21+
22+
ThemeInit.displayName = "ThemeInit";

0 commit comments

Comments
 (0)