oceanprotocol/market

View on GitHub
src/components/@shared/FormInput/Help.tsx

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import React, { ReactElement } from 'react'
import styles from './Help.module.css'
import Markdown from '@shared/Markdown'

const FormHelp = ({
  children,
  className
}: {
  children: string
  className?: string
}): ReactElement => {
  return (
    <Markdown className={`${styles.help} ${className || ''}`} text={children} />
  )
}

export default FormHelp