import * as React from 'react';
import { TfelaMProps } from '@cloudflare/types';

export interface ITextProps {
  className?: string;
  children: React.ReactNode;
  size?: 'normal' | 'small';
  weight?: 'normal' | 'semi-bold' | 'bold';
  align?: 'start' | 'center' | 'justify' | 'end';
  type?: 'info' | 'success' | 'warning' | 'error' | 'muted';
  case?: 'capitalize' | 'titlecase' | 'lowercase' | 'uppercase';
  display?: 'block' | 'inline-block' | 'inline';
  role?: string;
}

export class Text extends React.Component<ITextProps & TfelaMProps, Object> {}