Skip to content

Commit

Permalink
docs: add usage example with code
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Feb 5, 2024
1 parent 47ef09e commit 0e8b660
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/usage.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
# Usage

## Code

```js
<script src="https://hotosm.github.io/ui/dist/core.js">

<div>
<hot-button disabled="false"> </hot-button>
<hot-button intent="primary"> </hot-button>
</div>
```

<!-- markdownlint-disable -->
## Visual Representation

<script src="https://hotosm.github.io/ui/dist/core.js">
<!-- markdownlint-disable -->

<div>
<hot-button disabled="false"> </hot-button>
<hot-button intent="primary">Click Me!</hot-button>
</div>

<!-- markdownlint-enable -->

0 comments on commit 0e8b660

Please sign in to comment.