fix component export
This commit is contained in:
parent
0aafce2c5d
commit
9988be9ea3
@ -16,5 +16,10 @@ module.exports = {
|
||||
],
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
"@typescript-eslint/no-unused-vars": "off",
|
||||
"no-restricted-exports": ["error", {
|
||||
"restrictDefaultExports": {
|
||||
direct: true,
|
||||
}
|
||||
}]
|
||||
},
|
||||
};
|
||||
|
@ -5,7 +5,7 @@ interface Props {
|
||||
name?: string;
|
||||
}
|
||||
|
||||
export default function HelloWorld({ name }: Props) {
|
||||
export function HelloWorld({ name }: Props) {
|
||||
name ??= "world";
|
||||
|
||||
return (
|
||||
|
@ -1,7 +1,8 @@
|
||||
export * from "./api";
|
||||
export * from "./components";
|
||||
export * from "./decorators";
|
||||
export * from "./hooks";
|
||||
export * from "./model";
|
||||
export * from "./stores";
|
||||
export * from "./utils";
|
||||
export type * from "./model";
|
||||
export type * from "./model";
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@frontend/kitui",
|
||||
"version": "1.0.23",
|
||||
"version": "1.0.25",
|
||||
"description": "test",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.js",
|
||||
|
Loading…
Reference in New Issue
Block a user