Skip to content

Commit

Permalink
add jsxs and jsxDEV export functions from jsx-runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Bloomca committed Jun 2, 2024
1 parent c177f65 commit 468a93d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Veles

![Tests status](https://github.com/bloomca/veles/actions/workflows/pull-request-workflow.yaml/badge.svg)
[![Build Size](https://img.shields.io/bundlephobia/minzip/veles?label=bundle%20size)](https://bundlephobia.com/result?p=veles)
[![Version](https://img.shields.io/npm/v/veles)](https://www.npmjs.com/package/veles)

> The library is in very early stages and is not published yet as some crucial APIs are still under development
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"name": "veles",
"version": "0.0.1",
"version": "0.0.2",
"description": "UI library with main focus on performance",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
Expand Down
6 changes: 5 additions & 1 deletion src/jsx-runtime.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
export { createElement as jsx } from "./create-element";
export {
createElement as jsx,
createElement as jsxs,
createElement as jsxDEV,
} from "./create-element";
export { Fragment } from "./fragment";

0 comments on commit 468a93d

Please sign in to comment.