Skip to content

Commit

Permalink
we good
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmacarthur committed Jan 14, 2024
1 parent aef6f45 commit b42a9a2
Show file tree
Hide file tree
Showing 15 changed files with 4,473 additions and 337 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install Dependencies
node-version: 20
run: npm install && npm run bootstrap
- name: Run Tests
run: npm test
- uses: preactjs/compressed-size-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 17.5.0
nodejs 20.3.0
18 changes: 11 additions & 7 deletions packages/typeit-react/examples/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,28 @@ const App = () => {
<>
{showElements && (
<>
<TypeIt className="test" options={options}>
{/* <TypeIt className="test" options={options}>
This is the first example.
</TypeIt>
</TypeIt> */}

<TypeIt>
<br />

<TypeIt as={"h3"}>This will be typed in an H3 tag.</TypeIt>

{/* <TypeIt>
Weak text. <SuperStrong>Super strong text.</SuperStrong>
</TypeIt>
</TypeIt> */}

<br />

<TypeIt>And this is another example.</TypeIt>
{/* <TypeIt>And this is another example.</TypeIt> */}
<br />
<TypeIt
{/* <TypeIt
options={{
strings: "A final one!",
...options,
}}
/>
/> */}
</>
)}

Expand Down
Loading

0 comments on commit b42a9a2

Please sign in to comment.