refactor(page): render text, text size etc (#131)

This commit is contained in:
Aslam
2024-09-04 06:10:55 +07:00
committed by GitHub
parent 9c559ccf9a
commit c3572960c3
3 changed files with 9 additions and 3 deletions

View File

@@ -29,6 +29,7 @@ export const DetailPageHeader = ({ page, handleDelete }: { page: PersonalPage; h
}}
align="start"
variant="outline"
renderSelectedText={() => <span className="truncate">{page.topic?.prettyName || "Select a topic"}</span>}
/>
<Button size="sm" variant="outline" onClick={handleDelete}>
<LaIcon name="Trash" className="mr-2 size-3.5" />