Skip to content

Commit

Permalink
Merge pull request #2 from MysticalMike60t/dev
Browse files Browse the repository at this point in the history
Fixed all issues
  • Loading branch information
MysticalMike60t authored Sep 10, 2024
2 parents 9f29d44 + 14d40a4 commit 8cbe13f
Show file tree
Hide file tree
Showing 10 changed files with 1,385 additions and 371 deletions.
9 changes: 7 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"presets": ["@babel/preset-env", "@babel/preset-react"],
"plugins": ["@babel/plugin-transform-modules-commonjs"]
}
"plugins": [
"@babel/plugin-transform-modules-commonjs",
["transform-require-ignore", {
"extensions": [".css"]
}]
]
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
##
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore

example/public/bundle.js
example/public/bundle.js.LICENSE.txt
dist
lib
.parcel-cache
Expand Down
305 changes: 119 additions & 186 deletions example/public/bundle.js

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions example/src/index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import { Buttons, Layout } from '../../lib'; // Import your components here
import { UI } from '../../lib'; // Import your components here

const App = () => (
<div>
<Layout.Page.Home />
<Buttons.Submit />
<UI.Layouts.Pages.Home />
<UI.Buttons.Submit>
Submit
</UI.Buttons.Submit>
</div>
);

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(<App />);
root.render(<App />);
Loading

0 comments on commit 8cbe13f

Please sign in to comment.