UNPKG

semantic-ui-react

Version:
43 lines (29 loc) 1.05 kB
import * as React from 'react'; import { SemanticShorthandContent } from '../..'; import { default as RevealContent } from './RevealContent'; export interface RevealProps { [key: string]: any; /** An element type to render as (string or function). */ as?: any; /** An active reveal displays its hidden content. */ active?: boolean; /** An animation name that will be applied to Reveal. */ animated?: 'fade' | 'small fade' | 'move' | 'move right' | 'move up' | 'move down' | 'rotate' | 'rotate left'; /** Primary content. */ children?: React.ReactNode; /** Additional classes. */ className?: string; /** Shorthand for primary content. */ content?: SemanticShorthandContent; /** A disabled reveal will not animate when hovered. */ disabled?: boolean; /** An element can show its content without delay. */ instant?: boolean; } interface RevealComponent extends React.StatelessComponent<RevealProps> { Content: typeof RevealContent; } declare const Reveal: RevealComponent; export default Reveal;