Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Nov 4, 2024
1 parent 44d7249 commit e90c61f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Firstly, it eliminates the risk of conflicts with native attributes:

```jsx
<>
<Button type="primary">Save</Button {/* Conflict with button type="submit" /*}
<Button type="primary">Save</Button {/* Conflict with button's type="submit" */}
<button data-type="primary">Save</button> {/* Safe */}
</>
```
Expand Down Expand Up @@ -216,7 +216,7 @@ If you want both basic links and button-styled links, here’s how you can do:
```css
a { /* ... */ }

a[data-component='button'] { /* ... */
a[data-component='button'] { /* ... */ }
&[data-variant='primary'] { /* ... */ }
}
```
Expand Down

0 comments on commit e90c61f

Please sign in to comment.