Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: update
with-styled-components
README (vercel#73729)
## What? Delete Notes on `next/link` in the [`with-styled-components`](https://github.com/vercel/next.js/tree/canary/examples/with-styled-components) example. ## Why? [`as`](https://github.com/vercel/next.js/blob/v9.5.2/docs/api-reference/next/link.md#dynamic-routes) prop of `next/link` is no longer required at [v10.0.0](https://nextjs.org/docs/app/api-reference/components/link#version-history) Next.js. Therefore, the [as](https://styled-components.com/docs/api#as-polymorphic-prop) prop provided by `styled` doesn't collide with the `next/Link`'s `as` prop. CC: @samcx ### Adding or Updating Examples - [x] The "examples guidelines" are followed from our contributing doc https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md - [x] Make sure the linting passes by running `pnpm build && pnpm lint`. See https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md Co-authored-by: Sam Ko <[email protected]>
- Loading branch information