The contents of the accordion differs from landlord and tenant. Tenant's page needs date.
To display date you have to set scheduleDate as a prop.
sample code
import {
Accordion,
AccordionContent,
AccordionItem,
AccordionTrigger,
} from "@/components/ui/accordion"
import { CircleEllipsis, Ellipsis } from "lucide-react"
export default function Home() {
return (
Bathroom
mop the floor
The king, seeing how much happier his subjects were, realized the error of
his ways and repealed the joke tax.
mop the floor
The king, seeing how much happier his subjects were, realized the error of
his ways and repealed the joke tax.
Kitchen
Yes. It comes with default styles that matches the other
components' aesthetic.
);
}
## Assignee Checklist:
<!-- Tick the checkboxes if you have done the following: -->
- [x] The base branch is correct (no accidental merges)
- [x] The branch name follows our branch naming rules
- [x] The PR title follows our PR title rules
- [x] My code follows our coding style
- [x] I have commented on my code, particularly in hard-to-understand areas
- [x] My changes generate no new warnings or errors in the console
## Reviewer Checklist:
<!-- Tick the checkboxes if you have done the following: -->
- [ ] Code readability and simplicity
- [ ] Follows best practices and coding standards
- [ ] Understandable and maintainable code
Overview
Changes
Review points
Screenshots or videos
figma UI component ( landlord )
figma mockup ( tenant )
accordion component
Notes
The contents of the accordion differs from landlord and tenant. Tenant's page needs date.
To display date you have to set
scheduleDate
as a prop.sample code
export default function Home() { return (
The king, seeing how much happier his subjects were, realized the error of his ways and repealed the joke tax.
The king, seeing how much happier his subjects were, realized the error of his ways and repealed the joke tax.
); }