woocommerce/packages/js/components/src/section-header
Christopher Allford d2d8d78be1 Moved WCA Packages
This commit moves all of the packages in
`plugins/woocommerce-admin/packages` to their
new home in `packages/js`.
2022-03-18 14:25:26 -07:00
..
stories Moved WCA Packages 2022-03-18 14:25:26 -07:00
test Moved WCA Packages 2022-03-18 14:25:26 -07:00
README.md Moved WCA Packages 2022-03-18 14:25:26 -07:00
index.js Moved WCA Packages 2022-03-18 14:25:26 -07:00
style.scss Moved WCA Packages 2022-03-18 14:25:26 -07:00

README.md

SectionHeader

A header component. The header can contain a title, actions via children, and an EllipsisMenu menu.

Usage

<SectionHeader title="Section title" />

Props

Name Type Default Description
className String null Additional CSS classes
menu (custom validator) null An EllipsisMenu, with filters used to control the content visible in this card
title One of type: string, node null (required) The title to use for this card