Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 822 Bytes

image-accordion.md

File metadata and controls

42 lines (28 loc) · 822 Bytes

ImageAccordion

Source

An accordion that has a big image and appears in a grid. Should be used inside of an ImageAccordionGroup.

Usage

You should have the chayns-components package installed. If that is not the case already, run

yarn add chayns-components

or

npm i chayns-components

After the chayns-components package is installed, you can import the component and use it with React:

import React from 'react'
import { ImageAccordion } from 'chayns-components';

// ...

<ImageAccordion {...} />

Props

The ImageAccordion-component takes the following props:

Name Type Default Required