UNPKG

semantic-ui-react

Version:
26 lines (17 loc) 589 B
import * as React from 'react' import { SemanticShorthandContent } from '../..' export interface CardHeaderProps { [key: string]: any /** An element type to render as (string or function). */ as?: any /** Primary content. */ children?: React.ReactNode /** Additional classes. */ className?: string /** Shorthand for primary content. */ content?: SemanticShorthandContent /** A card header can adjust its text alignment. */ textAlign?: 'center' | 'left' | 'right' } declare const CardHeader: React.StatelessComponent<CardHeaderProps> export default CardHeader