ipfs/src/components/Info.tsx

18 lines
362 B
TypeScript
Raw Permalink Normal View History

2020-07-08 01:30:27 +02:00
import React, { ReactElement } from 'react'
2019-10-20 01:40:55 +02:00
import Status from './Status'
import styles from './Info.module.css'
2020-07-08 01:30:27 +02:00
export default function Info(): ReactElement {
2019-10-20 01:40:55 +02:00
return (
<aside className={styles.info}>
<h2>
<Status type="gateway" />
Gateway
</h2>
<h2>
<Status type="api" /> HTTP API
</h2>
</aside>
)
}