All Downloads are FREE. Search and download functionalities are using the official Maven repository.

components.buttons.ActionButton.tsx Maven / Gradle / Ivy

The newest version!
import React, { ComponentType } from 'react'

import { Tooltip, TooltipHocProps } from '../snippets/Tooltip/TooltipHOC'
import { Tooltip as TooltipType } from '../../ducks/form/Actions'

interface Props extends TooltipHocProps {
    Component?: ComponentType
    hint?: string
    placement?: string
    tooltip?: TooltipType
}

export function ActionButton(props: Props) {
    const { Component, hint, placement, tooltip = null } = props

    if (!Component) { return null }

    return (
        
            
        
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy