webapp/src/components/Feed/Row1.tsx

16 lines
450 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 const Row1 = (props: { article: Shout }) => (
2022-09-09 11:53:35 +00:00
<Show when={!!props.article}>
<div class="floor floor--one-article">
<div class="wide-container row">
<div class="col-12">
2022-10-25 15:40:12 +00:00
<ArticleCard article={props.article} settings={{ isSingle: true }} />
2022-09-09 11:53:35 +00:00
</div>
</div>
</div>
</Show>
)