mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-18 03:41:35 +02:00
Create TS type for pattern
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import loadable, { LoadableComponent } from '@loadable/component';
|
||||
|
||||
import Pattern from '../constants/Pattern';
|
||||
|
||||
interface CoverLoaderProps {
|
||||
pattern: string;
|
||||
pattern: Pattern;
|
||||
}
|
||||
|
||||
const slug = (item: string) => item.toLowerCase().split(' ').join('-');
|
||||
|
Reference in New Issue
Block a user