Skip to content

Commit

Permalink
chore(release): 1.0.3 [skip ci]
Browse files Browse the repository at this point in the history
## [1.0.3](v1.0.2...v1.0.3) (2023-03-10)

### Bug Fixes

* support tsx ([202bb5d](202bb5d))
  • Loading branch information
semantic-release-bot committed Mar 10, 2023
1 parent 202bb5d commit 3a4d820
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/cjs/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/// <reference types="react" />
declare const SayHello: ({ name }: {
name: string;
}) => JSX.Element;
export default SayHello;
14 changes: 14 additions & 0 deletions lib/cjs/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
var SayHello = function (_a) {
var name = _a.name;
return (react_1.default.createElement("div", null,
"Hey ",
name,
", say hello to TypeScript."));
};
exports.default = SayHello;
5 changes: 5 additions & 0 deletions lib/esm/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/// <reference types="react" />
declare const SayHello: ({ name }: {
name: string;
}) => JSX.Element;
export default SayHello;
9 changes: 9 additions & 0 deletions lib/esm/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from "react";
var SayHello = function (_a) {
var name = _a.name;
return (React.createElement("div", null,
"Hey ",
name,
", say hello to TypeScript."));
};
export default SayHello;

0 comments on commit 3a4d820

Please sign in to comment.