mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-25 01:51:37 -04:00
13 lines
314 B
TypeScript
13 lines
314 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-start gap-1">
|
|
<div className="text-ink-500 mt-1">{icon}</div>
|
|
{text}
|
|
</Row>
|
|
)
|
|
}
|