0.2.3 • Published 4 years ago
@dewen_li/organisms v0.2.3
@bodiless/organisms
Basic components to build out sites.
Single accordion
- Purpose
- Applies the expand/collapse effect
- Properties
- expanded (opt) - defines whether the accordion is expanded by default
- Editable areas
- Title, Body
- Styling
- Can be implemented in the appropriate token.tsx file by adding necessary tailwind classes - check asSingleAccordionDefaultStyle
Components List
Tout
- Default ToutHTout
- Horizontal ToutImgTout
- Tout with ImageSlider
- Default Slider- Main Menu
Usage
import { Slider } from '@bodiless/organisms';
<Slider nodeKey="slider1" />
import { Tout, ImgTout, HTout } from '@bodiless/organisms';
<Tout nodeKey="tout1" />
<ImgTout nodeKey="tout6" />
<HTout nodeKey="tout4" />