refactor(SW-194): break out button to separate component

This commit is contained in:
Matilda Landström
2024-10-01 17:19:02 +02:00
parent b0d5415d03
commit 7ba7896bbe
4 changed files with 60 additions and 17 deletions

View File

@@ -0,0 +1,6 @@
export type ShowMoreButtonProps = {
textShowMore: string
textShowLess: string
allItemsVisible: boolean
handleToggleShowMore: () => void
}