diff --git a/plugins/woocommerce-admin/packages/components/CHANGELOG.md b/plugins/woocommerce-admin/packages/components/CHANGELOG.md index 44187f7b38a..967bad67a15 100644 --- a/plugins/woocommerce-admin/packages/components/CHANGELOG.md +++ b/plugins/woocommerce-admin/packages/components/CHANGELOG.md @@ -1,3 +1,7 @@ +# Unreleased + +- Add optional `children` prop to ``. + # 6.0.0 - Change styling of ``. diff --git a/plugins/woocommerce-admin/packages/components/src/summary/README.md b/plugins/woocommerce-admin/packages/components/src/summary/README.md index 3fd296d005f..20ba6c2203b 100644 --- a/plugins/woocommerce-admin/packages/components/src/summary/README.md +++ b/plugins/woocommerce-admin/packages/components/src/summary/README.md @@ -15,7 +15,9 @@ A container element for a list of SummaryNumbers. This component handles detecti label="Total Sales" delta={ 29 } href="/analytics/report" - />, + > + 27 orders + , ) : null } + { children } ); diff --git a/plugins/woocommerce-admin/packages/components/src/summary/stories/index.js b/plugins/woocommerce-admin/packages/components/src/summary/stories/index.js index f60e0b2356d..0868a243cc2 100644 --- a/plugins/woocommerce-admin/packages/components/src/summary/stories/index.js +++ b/plugins/woocommerce-admin/packages/components/src/summary/stories/index.js @@ -13,7 +13,9 @@ export const Basic = () => ( label="Total Sales" delta={ 29 } href="/analytics/report" - />, + > + 27 orders + ,