Skip to content

Commit 467e872

Browse files
committed
make a named export for solid-js/html for autocompletion in IDEs
1 parent 30725b2 commit 467e872

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/grumpy-jars-invite.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"solid-js": patch
3+
---
4+
5+
expose `html` with a named export from `solid-js/html`

packages/solid/html/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
SVGNamespace
2424
} from "solid-js/web";
2525

26-
const html: HTMLTag = createHTML({
26+
export const html: HTMLTag = createHTML({
2727
effect,
2828
style,
2929
insert,

0 commit comments

Comments
 (0)