Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
import { ReactNode } from 'react'
import { CommonState } from 'src/state'

/**
 * Render Prop
 */
export interface BlinkRenderProp extends Function {
  (props: BlinkProps, state?: CommonState): ReactNode
}

/**
 * Props
 */
export interface BlinkProps {
  /**
   *  ClassName of the component
   */
  className?: string
  /**
   * The Text that is dispalyed
   */
  children?: ReactNode
  content?: string
  /**
   * Time interval for blinking
   */
  duration?: number
  /**
   * To represent blinking as true/false
   */
  shouldBlink?: boolean
  /**
   * Common state for blinking
   */
  state?: CommonState

  renderChildren?: BlinkRenderProp
  renderWrapper?: BlinkRenderProp
}