Skip to content

Commit

Permalink
fix(builtins): change card presentation (ref #734)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmytro Paniontko authored and epaminond committed Jul 18, 2018
1 parent 6cbece2 commit 3057446
Showing 1 changed file with 5 additions and 1 deletion.
@@ -1,3 +1,7 @@
import Carousel from './builtin_carousel'

export default data => Carousel([data])
export default ({ BOT_URL, ...item }) =>
Carousel({
items: [item],
BOT_URL
})

0 comments on commit 3057446

Please sign in to comment.