Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Component: Agenda Accordion #28

Closed
timmyc opened this issue May 9, 2018 · 0 comments
Closed

Component: Agenda Accordion #28

timmyc opened this issue May 9, 2018 · 0 comments
Assignees
Labels
type: enhancement The issue is a request for an enhancement.

Comments

@timmyc
Copy link
Contributor

timmyc commented May 9, 2018

This issue covers creation of a new component(s) that can be used to render the accordion section seen in the Agenda block:

accordion-component

We may consider using @components/panel-body for this task, though with the custom counter in the header area, it might need to be a custom component.

Also <FoldableCard /> from Calypso is quite nice.

This issue covers creation of the Clickable header region, which will expand/display the child region. This does not cover the rendering of child items/content.

Props
Some props the component should likely support:

  • title string
  • isOpen bool
  • count int
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement The issue is a request for an enhancement.
Projects
None yet
Development

No branches or pull requests

2 participants