Skip to content

Commit

Permalink
Update styled element description
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Mar 1, 2024
1 parent 887f441 commit 97cc770
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 @@ -8,7 +8,7 @@
<img alt="Master" src="https://user-images.githubusercontent.com/33840671/205238945-3295c4f5-a88a-4b58-bca9-770fe7bf894e.svg" width="100%">
</picture>
</p>
<p align="center">Create reusable and extensible style class variants</p>
<p align="center">Create reusable and extensible styled elements in one line</p>

<p align="center">
<a aria-label="GitHub release (latest by date including pre-releases)" href="https://github.com/master-co/styled/releases">
Expand Down Expand Up @@ -216,7 +216,7 @@ return (
```

### Change an element's tag name
Changing the original tag name of an element, such as `<button>` to `<a>`. Left empty `` even if there are no additional classes.
Changing the original tag name of an element, such as `<button>` to `<a>`. Left empty '' even if there are no additional classes.
```tsx
const Button = styled.button('inline-flex')
const Link = styled.a(Button)``
Expand Down

0 comments on commit 97cc770

Please sign in to comment.