Skip to content

Commit

Permalink
Merge pull request #115 from odanado/export-props-type
Browse files Browse the repository at this point in the history
Export props type
  • Loading branch information
break-stuff committed May 8, 2024
2 parents a700ce1 + 09a8d60 commit 6129520
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/jsx-integration/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 1.3.2

- Export type of component props.

## 1.3.1

- Allow any string for `descriptionSrc`
Expand Down
2 changes: 1 addition & 1 deletion packages/jsx-integration/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "custom-element-jsx-integration",
"version": "1.3.1",
"version": "1.3.2",
"description": "Tools for integrating custom elements into JSX projects",
"main": "index.js",
"module": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/jsx-integration/src/type-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ ${components
?.map((component: Component) => {
return `
type ${component.name}Props = {
export type ${component.name}Props = {
${
component.attributes
?.map((attr) => {
Expand Down

0 comments on commit 6129520

Please sign in to comment.