Add mock post
This commit is contained in:
@@ -1,7 +1,18 @@
|
|||||||
import BlogPost from './BlogPost'
|
import BlogPost from './BlogPost'
|
||||||
|
|
||||||
|
const POST = {
|
||||||
|
id: 1,
|
||||||
|
title: 'First Post',
|
||||||
|
body: `Neutra tacos hot chicken prism raw denim, put a bird on it enamel pin
|
||||||
|
post-ironic vape cred DIY. Street art next level umami squid. Hammock
|
||||||
|
hexagon glossier 8-bit banjo. Neutra la croix mixtape echo park four
|
||||||
|
loko semiotics kitsch forage chambray. Semiotics salvia selfies jianbing
|
||||||
|
hella shaman. Letterpress helvetica vaporware cronut, shaman butcher
|
||||||
|
YOLO poke fixie hoodie gentrify woke heirloom.`,
|
||||||
|
}
|
||||||
|
|
||||||
export const generated = () => {
|
export const generated = () => {
|
||||||
return <BlogPost />
|
return <BlogPost post={POST} />
|
||||||
}
|
}
|
||||||
|
|
||||||
export default { title: 'Components/BlogPost' }
|
export default { title: 'Components/BlogPost' }
|
||||||
|
|||||||
Reference in New Issue
Block a user