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

Commit 3fcabc1

Browse files
authored
remove list from accordion example (#609)
1 parent 71d8f99 commit 3fcabc1

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

docs/src/examples/components/Accordion/Variations/AccordionExampleList.shorthand.tsx

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
import { Accordion, List, Image, Button } from '@stardust-ui/react'
2+
import { Accordion, Button } from '@stardust-ui/react'
33

44
class AccordionExampleList extends React.Component {
55
render() {
@@ -10,14 +10,8 @@ class AccordionExampleList extends React.Component {
1010
key: 'animals',
1111
content: (
1212
<div>
13-
<List
14-
items={[
15-
{ key: 'a', media: <Image avatar src="//placehold.it/100" />, header: 'cat' },
16-
{ key: 'b', media: <Image avatar src="//placehold.it/100" />, header: 'dog' },
17-
{ key: 'c', media: <Image avatar src="//placehold.it/100" />, header: 'mouse' },
18-
]}
19-
/>
20-
<Button>Add pet</Button>
13+
<Button primary>Add pet</Button>
14+
<Button>Remove pet</Button>
2115
</div>
2216
),
2317
},

0 commit comments

Comments
 (0)