strapi card grid support

This commit is contained in:
tmshv committed 2021-02-17 14:10:49 +03:00
1 parent 10c27f0ad5
commit 88bb059094
6 files changed
+81 -38

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
import Image from 'next/image'
import { ImageSize, PageCardData } from 'src/types'
import { ImageSize, PageCardData, PageCardDto } from 'src/types'
import { CardGrid } from '../CardGrid'
import { Card, CardLayout } from '../Card'
import { Date } from './Date'
@@ -10,7 +10,7 @@ import { Button } from '../Button'
import { useState, useCallback } from 'react'
export type PageGridProps = {
items: PageCardData[]
items: PageCardDto[]
}
export const PageGrid: React.FC<PageGridProps> = props => {