Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Accordion.Title contentRef prop is required #1417

@bmdalex

Description

@bmdalex

Accordion.Title contentRef prop is required

Steps

Try use Accordion component with Accordion.Title subcomponent without specifying contentRef prop.

Expected Result

It should be possible and should work without errors.

Actual Result

contentRef is a required prop but there is no reason for it. Stardust strives to create components that work out of the box with minimal props ➡️ Accordion.Title should work fine without specifying required props 💣

https://github.com/stardust-ui/react/blob/c69313cd008cf380d9ac2913342d0d403a398a05/packages/react/src/components/Accordion/AccordionTitle.tsx#L45

Version

UNRELEASED

Metadata

Metadata

Assignees

Labels

vstsPaired with ticket in vsts🧰 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions