strapi card grid support
This commit is contained in:
1 parent
10c27f0ad5
commit
88bb059094
6 files changed
+81
-38
No files matched your search
@@ -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 => {
|
||||
|
||||
Reference in new issue
Block a user