Skip to content

Commit

Permalink
Remove EditorialButton and EditorialLinkButton components (#1731)
Browse files Browse the repository at this point in the history
## What are you changing?

- Remove the EditorialButton and EditorialLinkButton component, related
tests and stories

## Why?

- EditorialButton has only ever been used in [one place in
DCR](https://github.com/guardian/dotcom-rendering/blob/4f75a0dbaf5a5dd756b1e8a1bb0aafa542e398a3/dotcom-rendering/src/components/Toast.tsx#L5).
- We are moving format-related types into DCR
(guardian/dotcom-rendering#12461). Removing this component removes one
usage of format outside of DCR
  • Loading branch information
SiAdcock authored Oct 10, 2024
2 parents 61703b4 + 667454b commit 02018b3
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 643 deletions.
5 changes: 5 additions & 0 deletions .changeset/fifty-emus-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@guardian/source-development-kitchen': major
---

Remove `EditorialButton` and `EditorialLinkButton` components

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 02018b3

Please sign in to comment.