Skip to content

Commit

Permalink
prettier was ran
Browse files Browse the repository at this point in the history
  • Loading branch information
XINEXPORT committed Apr 10, 2024
1 parent 34cd3f4 commit 3292447
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions components/Accordion.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@ const Accordion = () => {
const list = [
{
title: 'Product Details',
details: 'Apples are nutritious. Apples may be good for weight loss. Apples may be good for your heart. As part of a heartful and varied diet.',
details:
'Apples are nutritious. Apples may be good for weight loss. Apples may be good for your heart. As part of a heartful and varied diet.',
},
{
title: 'Nutritions',
details: 'Calories 94.6. Water 156 grams. Protein 0.43 grams. Carbs 25.1 grams. Sugar 18.9 grams. Fiber 4.37 grams. Fat 0.3 grams.',
details:
'Calories 94.6. Water 156 grams. Protein 0.43 grams. Carbs 25.1 grams. Sugar 18.9 grams. Fiber 4.37 grams. Fat 0.3 grams.',
},
{
title: 'Review',
details: 'Truly, spectacularly delicious!',
}
},
];

const toggleAccordion = (index) => {
Expand All @@ -42,7 +44,9 @@ const Accordion = () => {
>
<ListItem bottomDivider>
<ListItem.Content>
<ListItem.Subtitle style={styles.subtitle}>{item.details}</ListItem.Subtitle>
<ListItem.Subtitle style={styles.subtitle}>
{item.details}
</ListItem.Subtitle>
</ListItem.Content>
</ListItem>
</ListItem.Accordion>
Expand Down

0 comments on commit 3292447

Please sign in to comment.