mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 06:42:59 +00:00
chore: fix pkg setup
This commit is contained in:
@@ -1,12 +1,15 @@
|
|||||||
{
|
{
|
||||||
"name": "@zitadel/next",
|
"name": "@zitadel/next",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"main": "./dist/index.js",
|
|
||||||
"module": "./dist/index.mjs",
|
|
||||||
"types": "./dist/index.d.ts",
|
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./dist/index.js",
|
||||||
|
"types": "./dist/index.d.ts"
|
||||||
|
}
|
||||||
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist/**"
|
"dist/**"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -4,7 +4,5 @@ export type ZitadelNextProps = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export function ZitadelNextProvider({ dark, children }: ZitadelNextProps) {
|
export function ZitadelNextProvider({ dark, children }: ZitadelNextProps) {
|
||||||
return (
|
return <div className={`${dark ? "ztdl-dark" : "ztdl-light"} `}>{children}</div>;
|
||||||
<div className={`${dark ? "ztdl-dark" : "ztdl-light"} `}>{children}</div>
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user