Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Layout foundations] Add
LegacyCard
component (#8238)
### WHY are these changes introduced? Resolves #8231. Creating a `LegacyCard` component that is a duplicate of the existing `Card` in light of upcoming work to replace this with the `AlphaCard` component. ### WHAT is this pull request doing? Adds `LegacyCard` to `polaris-react`. Adds `LegacyCard` page to style guide with examples and prop table. <!-- ℹ️ Delete the following for small / trivial changes --> ### How to 🎩 🖥 [Local development instructions](https://github.com/Shopify/polaris/blob/main/README.md#local-development) 🗒 [General tophatting guidelines](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md) 📄 [Changelog guidelines](https://github.com/Shopify/polaris/blob/main/.github/CONTRIBUTING.md#changelog) ### 🎩 checklist - [ ] Tested on [mobile](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md#cross-browser-testing) - [ ] Tested on [multiple browsers](https://help.shopify.com/en/manual/shopify-admin/supported-browsers) - [ ] Tested for [accessibility](https://github.com/Shopify/polaris/blob/main/documentation/Accessibility%20testing.md) - [ ] Updated the component's `README.md` with documentation changes - [x] [Tophatted documentation](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting%20documentation.md) changes in the style guide --------- Co-authored-by: aveline <[email protected]>
- Loading branch information