mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-25 10:02:27 -04:00
13 lines
312 B
TypeScript
13 lines
312 B
TypeScript
import {ReactNode} from 'react'
|
|
import {Row} from 'web/components/layout/row'
|
|
|
|
export function IconWithInfo(props: {text: string; icon: ReactNode}) {
|
|
const {text, icon} = props
|
|
return (
|
|
<Row className="items-center gap-0.5">
|
|
<div className="text-ink-500">{icon}</div>
|
|
{text}
|
|
</Row>
|
|
)
|
|
}
|