Sha256: d295a8f1bc29c9751b414cc718caacdaba2444276ea634b229407b877f73f7b6

Contents?: true

Size: 547 Bytes

Versions: 3

Compression:

Stored size: 547 Bytes

Contents

class Lanes.Components.Tooltip extends Lanes.React.Component

    TTProps: [
        'id', 'placement', 'positionLeft', 'positionTop',
        'arrowOffsetLeft', 'arrowOffsetTop'
    ]

    render: ->
        ttprops = _.pick(@props, @TTProps...)
        tooltip = <BS.Tooltip {...ttprops}>{@props.content}</BS.Tooltip>
        <BS.OverlayTrigger
            overlay={tooltip}
            placement='left'
            container={@context.viewport.lanes}
            {...@props}
        >
            {@props.children}
        </BS.OverlayTrigger>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lanes-0.7.0 client/lanes/components/shared/Tooltip.cjsx
lanes-0.6.1 client/lanes/components/shared/Tooltip.cjsx
lanes-0.6.0 client/lanes/components/shared/Tooltip.cjsx