Skip to content

Commit

Permalink
feat: support render props
Browse files Browse the repository at this point in the history
Closes #11
  • Loading branch information
gregberge committed Dec 24, 2023
1 parent e40914b commit 05f7bc0
Show file tree
Hide file tree
Showing 9 changed files with 1,599 additions and 97 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/ban-types": "off"
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-explicit-any": "off"
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

## Features

- ⚡️ Lightweight — only 0.44kb
- ⚡️ Lightweight — only 0.46kb
- ✨ Autocompletion in all editors
- 🎨 Adapt the style based on props
- ♻️ Reuse classes with `asChild` prop
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"exports": {
".": {
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
}
},
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -49,6 +50,7 @@
"happy-dom": "^12.10.3",
"prettier": "^3.1.1",
"react": "^18.2.0",
"react-aria-components": "^1.0.0",
"rollup": "^4.9.1",
"rollup-plugin-swc3": "^0.11.0",
"rollup-plugin-ts": "^3.4.5",
Expand Down
Loading

0 comments on commit 05f7bc0

Please sign in to comment.