Skip to content

Commit 01ba62f

Browse files
committed
Package consistency
1 parent 63e011d commit 01ba62f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

packages/accordion/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ npm install @zendeskgarden/container-accordion
1414

1515
## Usage
1616

17-
Check out [storybook](https://zendeskgarden.github.io/react-containers) for live examples.
17+
This container implements the
18+
[accordion](https://www.w3.org/TR/wai-aria-practices-1.1/#accordion) design
19+
pattern and can be used to build an accordion component. Check out
20+
[storybook](https://zendeskgarden.github.io/react-containers) for live examples.
1821

1922
### useAccordion
2023

packages/accordion/demo/stories/AccordionStory.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ const Container = ({ sections, ...props }: IProps) => (
7575
);
7676

7777
const Hook = ({ sections, ...props }: IProps) => {
78-
const accordionProps = useAccordion(props);
78+
const hookProps = useAccordion(props);
7979

80-
return <Component sections={sections} {...accordionProps} />;
80+
return <Component sections={sections} {...hookProps} />;
8181
};
8282

8383
interface IArgs extends IUseAccordionProps {

0 commit comments

Comments
 (0)