Skip to content

Commit

Permalink
feat(sage-react): add the 'sage-icon' library to the project
Browse files Browse the repository at this point in the history
  • Loading branch information
ju-Skinner committed Jan 30, 2023
1 parent f318d2e commit 863b4bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
"rollup": "rollup -c"
},
"dependencies": {
"@sage/core": "^0.0.1-alpha"
"@sage/core": "^0.0.1-alpha",
"@sage/icons": "*"
},
"devDependencies": {
"@types/jest": "^29.1.2",
Expand Down
1 change: 1 addition & 0 deletions libs/react/src/components/proxies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { applyPolyfills, defineCustomElements } from '@sage/core/loader';
applyPolyfills().then(() => defineCustomElements());
export const MyComponent = /*@__PURE__*/createReactComponent<JSX.MyComponent, HTMLMyComponentElement>('my-component');
export const SageButton = /*@__PURE__*/createReactComponent<JSX.SageButton, HTMLSageButtonElement>('sage-button');
export const SageIcon = /*@__PURE__*/createReactComponent<JSX.SageIcon, HTMLSageIconElement>('sage-icon');
export const SageImage = /*@__PURE__*/createReactComponent<JSX.SageImage, HTMLSageImageElement>('sage-image');
export const SageInput = /*@__PURE__*/createReactComponent<JSX.SageInput, HTMLSageInputElement>('sage-input');
export const SageLink = /*@__PURE__*/createReactComponent<JSX.SageLink, HTMLSageLinkElement>('sage-link');

0 comments on commit 863b4bb

Please sign in to comment.