Skip to content

Commit 05f7bc0

Browse files
committed
feat: support render props
Closes #11
1 parent e40914b commit 05f7bc0

File tree

9 files changed

+1599
-97
lines changed

9 files changed

+1599
-97
lines changed

.eslintrc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
88
"plugins": ["@typescript-eslint"],
99
"rules": {
10-
"@typescript-eslint/ban-types": "off"
10+
"@typescript-eslint/ban-types": "off",
11+
"@typescript-eslint/no-explicit-any": "off"
1112
}
1213
}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
## Features
1010

11-
- ⚡️ Lightweight — only 0.44kb
11+
- ⚡️ Lightweight — only 0.46kb
1212
- ✨ Autocompletion in all editors
1313
- 🎨 Adapt the style based on props
1414
- ♻️ Reuse classes with `asChild` prop

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"exports": {
77
".": {
88
"import": "./dist/index.mjs",
9-
"types": "./dist/index.d.ts"
9+
"types": "./dist/index.d.ts",
10+
"default": "./dist/index.mjs"
1011
}
1112
},
1213
"types": "./dist/index.d.ts",
@@ -49,6 +50,7 @@
4950
"happy-dom": "^12.10.3",
5051
"prettier": "^3.1.1",
5152
"react": "^18.2.0",
53+
"react-aria-components": "^1.0.0",
5254
"rollup": "^4.9.1",
5355
"rollup-plugin-swc3": "^0.11.0",
5456
"rollup-plugin-ts": "^3.4.5",

0 commit comments

Comments
 (0)