webapp/src/components/Feed/Row1.tsx

17 lines
436 B
TypeScript
Raw Normal View History

2022-09-09 11:53:35 +00:00
import { Show } from 'solid-js'
import type { Shout } from '../../graphql/types.gen'
import { ArticleCard } from './Card'
import './Row1.scss'
export default (props: { article: Shout }) => (
<Show when={!!props.article}>
<div class="floor floor--one-article">
<div class="wide-container row">
<div class="col-12">
<ArticleCard article={props.article} />
</div>
</div>
</div>
</Show>
)