Skip to content

Commit

Permalink
Updating for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
khiga8 authored Jul 22, 2022
1 parent 602d4bc commit 2164129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ This config will be interpreted in the following way:
- `<Link>` without a defined `as` prop will be treated as a `a`.
- `<Link as='a'>` will treated as an `a` element type.
- `<Link as='button'>` will be treated as a `button` element type.
- `<Link as='summary'>` will be treated as the original `Link` element type because there is no matching mapping for `as='summary'` resulting in the element being treated as an `a`
- `<Link as='summary'>` will be treated as the raw `Link` type because there is no configuration set for `as='summary'`.

### Rules

Expand Down

0 comments on commit 2164129

Please sign in to comment.