webapp/src/components/Feed/Row1.tsx

16 lines
445 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'
export default (props: { article: Shout }) => (
<Show when={!!props.article}>
<div class="floor floor--one-article">
<div class="wide-container row">
<div class="col-12">
2022-10-31 12:51:52 +00:00
<ArticleCard article={props.article} settings={{ isSingle: true }} />
2022-09-09 11:53:35 +00:00
</div>
</div>
</div>
</Show>
)