From 732d0943f8041d76262222a092b014f2557085ef Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 2 May 2022 18:57:29 +0200 Subject: chore: add homepage --- src/components/organisms/layout/cards-list.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/components/organisms/layout/cards-list.tsx') diff --git a/src/components/organisms/layout/cards-list.tsx b/src/components/organisms/layout/cards-list.tsx index 33ffe23..1558d7c 100644 --- a/src/components/organisms/layout/cards-list.tsx +++ b/src/components/organisms/layout/cards-list.tsx @@ -14,6 +14,10 @@ export type CardsListItem = Omit< }; export type CardsListProps = { + /** + * Set additional classnames to the list wrapper. + */ + className?: string; /** * The cover fit. */ @@ -38,6 +42,7 @@ export type CardsListProps = { * Return a list of Card components. */ const CardsList: FC = ({ + className = '', coverFit, items, kind = 'unordered', @@ -70,9 +75,10 @@ const CardsList: FC = ({ return ( ); }; -- cgit v1.2.3