File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ export const IssueCard: FC<IssueCardProps> = ({
2323 ...props
2424} ) => (
2525 < Box
26- { ...props }
27- component = { component }
2826 className = { `elevation-1 hover:elevation-4 relative mb-4 grid break-inside-avoid grid-cols-1 grid-rows-5 gap-2 rounded-2xl border border-gray-200 p-4 dark:border-0 ${ className } ` }
27+ component = { component }
28+ { ...props }
2929 >
3030 < a
3131 className = "row-span-1 text-2xl font-semibold"
Original file line number Diff line number Diff line change @@ -18,10 +18,12 @@ export const ProjectCard: FC<ProjectCardProps> = ({
1818 price,
1919 settlementDate,
2020 component = 'li' ,
21+ ...props
2122} ) => (
2223 < Box
23- component = { component }
2424 className = { `elevation-1 hover:elevation-4 relative rounded-2xl border border-gray-200 p-4 dark:border-0 ${ className } mb-4 grid break-inside-avoid grid-cols-1 grid-rows-4 gap-2` }
25+ component = { component }
26+ { ...props }
2527 >
2628 < a className = "row-span-2 flex items-center justify-between" href = { `/project/${ id } ` } >
2729 < h2 className = "text-lg" > { String ( name ) } </ h2 >
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export interface ProjectListLayoutProps {
99}
1010
1111export const ProjectListLayout : FC < ProjectListLayoutProps > = ( { className = '' , defaultData } ) => (
12- < ul className = { `${ className } grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3` } >
12+ < ul className = { `grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3 ${ className } ` } >
1313 { defaultData . map ( item => (
1414 < ProjectCard key = { String ( item . id ) } className = "h-full" { ...item } />
1515 ) ) }
You can’t perform that action at this time.
0 commit comments