semantic-ui-react
Version:
The official Semantic-UI-React integration.
31 lines (21 loc) • 722 B
TypeScript
import * as React from 'react'
import { SemanticShorthandContent } from '../../generic'
export interface ButtonContentProps extends StrictButtonContentProps {
[key: string]: any
}
export interface StrictButtonContentProps {
/** 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
/** Initially hidden, visible on hover. */
hidden?: boolean
/** Initially visible, hidden on hover. */
visible?: boolean
}
declare const ButtonContent: React.StatelessComponent<ButtonContentProps>
export default ButtonContent