Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-logan committed Jun 6, 2024
1 parent 9163b17 commit 3d6ede6
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import { FUNCTION_NAME } from 'multiform-validator';
export function UsageCDNExample() {
return (
<SyntaxHighlighter language="html" style={a11yDark}>
{`<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/bundle.min.js"></script>
{`<script src="https://cdn.jsdelivr.net/npm/[email protected].2/dist/bundle.min.js"></script>
<script>
const emailResult = isEmail('123456');
Expand All @@ -74,19 +74,19 @@ export function Cdns() {
<div className="mb-4">
<h3 className="mb-2">jsDelivr</h3>
<SyntaxHighlighter language="bash" style={a11yDark}>
https://cdn.jsdelivr.net/npm/[email protected].0/dist/bundle.min.js
https://cdn.jsdelivr.net/npm/[email protected].2/dist/bundle.min.js
</SyntaxHighlighter>
<SyntaxHighlighter language="html" style={a11yDark}>
{`<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/bundle.min.js"></script>`}
{`<script src="https://cdn.jsdelivr.net/npm/[email protected].2/dist/bundle.min.js"></script>`}
</SyntaxHighlighter>
</div>
<div className="mb-4">
<h3 className="mb-2">unpkg</h3>
<SyntaxHighlighter language="bash" style={a11yDark}>
https://unpkg.com/[email protected].0/dist/bundle.js
https://unpkg.com/[email protected].2/dist/bundle.js
</SyntaxHighlighter>
<SyntaxHighlighter language="html" style={a11yDark}>
{`<script src="https://unpkg.com/[email protected].0/dist/bundle.js"></script>`}
{`<script src="https://unpkg.com/[email protected].2/dist/bundle.js"></script>`}
</SyntaxHighlighter>
</div>
</>
Expand Down

0 comments on commit 3d6ede6

Please sign in to comment.