Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/nine-cycles-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/polaris': patch
---

Deprecated `external` prop in `Link` component
4 changes: 3 additions & 1 deletion polaris-react/src/components/Link/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ export interface LinkProps {
url?: string;
/** The content to display inside the link */
children?: React.ReactNode;
/** Makes the link open in a new tab */
/** Makes the link open in a new tab
* @deprecated use `target` set to `_blank` instead
*/
external?: boolean;
/** Where to display the url */
target?: Target;
Expand Down