import { ReactText } from 'react'

import { SystemProps } from '../system'
import { ThemingProps } from '../theme'

export type MessageProps = SystemProps &
  ThemingProps<'Message'> & {
    /** Displays given text if no children are provided. */
    text?: ReactText
  }
