1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-08 15:16:52 +02:00

Create TS type for pattern

This commit is contained in:
Phuoc Nguyen
2019-11-25 08:40:32 +07:00
parent 60612ba11c
commit 0b42feb697
7 changed files with 88 additions and 41 deletions

View File

@@ -1,11 +1,12 @@
import React from 'react';
import { Link } from 'react-router-dom';
import Pattern from '../constants/Pattern';
import slug from '../helpers/slug';
import CoverLoader from '../loaders/CoverLoader';
interface CoverCardProps {
pattern: string;
pattern: Pattern;
}
const CoverCard: React.FC<CoverCardProps> = ({ pattern }) => {