Skip to content

Commit

Permalink
modified mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
Gururajj77 committed Dec 10, 2024
1 parent a06f530 commit ff2ef47
Showing 1 changed file with 1 addition and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,17 @@ import * as ExampleButtonStories from './ExampleButton.stories';

# ExampleButton

[Source code](https://github.com/carbon-design-system/carbon/tree/main/packages/react/src/components/Accordion)
 | 
[Usage guidelines](https://www.carbondesignsystem.com/components/accordion/usage)
 | 
[Accessibility](https://www.carbondesignsystem.com/components/accordion/accessibility)

{/* <!-- START doctoc generated TOC please keep comment here to allow auto update --> */}
{/* <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> */}

## Table of Contents

- [Overview](#overview)
- [Skeleton state](#skeleton-state)
- [Component API](#component-api)
- [References](#references)
- [Feedback](#feedback)

{/* <!-- END doctoc generated TOC please keep comment here to allow auto update --> */}

## Overview

You can build an accordion using a combination of the `Accordion` and
`AccordionItem` components. The `Accordion` components accepts a list of
`AccordionItem` components as `children` and each `AccordionItem` is responsible
for displaying the accordion's heading and panel content.

You can configure the accordion item's heading using the `title` prop.
Everything you pass in as a child of `AccordionItem` will be rendered in the
accordion's panel.
This is an example button component.

<Canvas of={ExampleButtonStories.Default} />

0 comments on commit ff2ef47

Please sign in to comment.