extracted templates, extracted strings for templates

This commit is contained in:
Amruth Pillai
2020-03-30 10:58:50 +05:30
parent 51dc6ef94d
commit a0e17396ac
13 changed files with 81 additions and 79 deletions

27
src/templates/index.js Normal file
View File

@ -0,0 +1,27 @@
import Onyx, { Image as OnyxPreview } from './onyx';
import Pikachu, { Image as PikachuPreview } from './pikachu';
import Gengar, { Image as GengarPreview } from './gengar';
import Castform, { Image as CastformPreview } from './castform';
export default [
{
key: 'onyx',
component: Onyx,
preview: OnyxPreview,
},
{
key: 'pikachu',
component: Pikachu,
preview: PikachuPreview,
},
{
key: 'gengar',
component: Gengar,
preview: GengarPreview,
},
{
key: 'castform',
component: Castform,
preview: CastformPreview,
},
];