4466ba436b
## Description This PR ensures that the default prettier config is used for examples and templates. This config is compatible with `prettier@3` as well (upgrading prettier is bigger change that can be a future PR). ## Changes - Updated `.prettierrc.json` in root with `"trailingComma": "es5"` (will be needed upgrading to prettier@3) - Added `examples/.prettierrc.json` with default config (this will change every example) - Added `packages/create-next-app/templates/.prettierrc.json` with default config (this will change every template) ## Related - Fixes #54402 - Closes #54409
29 lines
851 B
XML
29 lines
851 B
XML
import { Collapse, Text } from "@nextui-org/react";
|
|
|
|
const CustomCollapse = () => {
|
|
return (
|
|
<Collapse.Group>
|
|
<Collapse title="Option A">
|
|
<Text>
|
|
I have had my invitation to this world's festival, and thus my life
|
|
has been blessed.
|
|
</Text>
|
|
</Collapse>
|
|
<Collapse title="Option B">
|
|
<Text>
|
|
In the meanwhile I smile and I sing all alone. In the meanwhile the
|
|
air is filling with the perfume of promise.
|
|
</Text>
|
|
</Collapse>
|
|
<Collapse title="Option C">
|
|
<Text>
|
|
I came out on the chariot of the first gleam of light, and pursued my
|
|
voyage through the wildernesses of worlds leaving my track on many a
|
|
star and planet.
|
|
</Text>
|
|
</Collapse>
|
|
</Collapse.Group>
|
|
);
|
|
};
|
|
|
|
export default CustomCollapse;
|