semantic-styled-ui
Version:
Set of UI components based of Semantic UI with Styled Components
32 lines (29 loc) • 599 B
TypeScript
import * as React from "react"
import { TextAlignProp, PaddedVerticalProp } from "../types"
interface TitleProps {
/**
* main title content
*/
children?: React.ReactNode
/**
* what the main content is rendered as
*/
as?: React.ElementType
/**
* subtitle content
*/
subtitle?: React.ReactNode
/**
* format title content
*/
textAlign?: TextAlignProp
/**
* format body / subtitle content
*/
textAlignSub?: TextAlignProp
/**
* if/where spacing around element exists
*/
padded?: PaddedVerticalProp
}
declare const Title: React.FC<TitleProps>