1- # BBAccordion
1+ # BBBAccordion
22
3- The ` BBAccordion ` component allows you to create collapsible sections of content. It's useful for showing and hiding information in a compact way.
3+ The ` BBBAccordion ` component allows you to create collapsible sections of content. It's useful for showing and hiding information in a compact way.
44
55![ Demo] ( assets/example.gif )
66
@@ -9,33 +9,33 @@ The `BBAccordion` component allows you to create collapsible sections of content
99### Basic Accordion
1010
1111``` jsx
12- import { BBAccordion } from ' bbb-ui-components-react' ;
12+ import { BBBAccordion } from ' bbb-ui-components-react' ;
1313
14- < BBAccordion title= " Click to expand" >
14+ < BBBAccordion title= " Click to expand" >
1515 < p> This is the content of the accordion.< / p>
1616 < p> It can contain any React nodes.< / p>
17- < / BBAccordion >
17+ < / BBBAccordion >
1818```
1919
2020### Accordion with Tooltip
2121
2222``` jsx
23- import { BBAccordion } from ' bbb-ui-components' ;
23+ import { BBBAccordion } from ' bbb-ui-components-react ' ;
2424
25- < BBAccordion title= " Hover for tooltip" tooltipLabel= " This is a helpful tooltip!" >
25+ < BBBAccordion title= " Hover for tooltip" tooltipLabel= " This is a helpful tooltip!" >
2626 < p> Content for the accordion with a tooltip.< / p>
27- < / BBAccordion >
27+ < / BBBAccordion >
2828```
2929
3030### Accordion with custom button header
3131
3232``` jsx
33- import { BBAccordion } from ' bbb-ui-components' ;
34- import { MdFavorite } from " react-icons/md" ;
33+ import { BBBAccordion } from ' bbb-ui-components-react ' ;
34+ import { MdFavorite } from ' react-icons/md' ;
3535
36- < BBAccordion title= " Hover for tooltip" tooltipLabel= " This is a helpful tooltip!" buttonHeader= {< MdFavorite> }>
36+ < BBBAccordion title= " Hover for tooltip" tooltipLabel= " This is a helpful tooltip!" buttonHeader= {< MdFavorite> }>
3737 < p> Content for the accordion with a tooltip.< / p>
38- < / BBAccordion >
38+ < / BBBAccordion >
3939```
4040
4141## Props
0 commit comments