 React = require 'react'
 Radium = require 'radium'
+Link = require './link-component'
 DocDetailSignaturesComponent = require './doc-detail-signatures-component'
 DocTitleComponent = require './doc-title-component'
 DocFlagtagsComponent = require './doc-flagtags-component'

  constructor: (props) ->
    super props

  render: ->
    dstyle =
      kind_string:

      {
        if @props.current.inheritedFrom?
          <div style={styles.from}>
            <span><span>{"Inherited from "}</span>{constructLink(@props.current.inheritedFrom.name)}</span>
          </div>
      }
      {
        if @props.current.overwrites?
          <div style={styles.from}>
            <span><span>{"Overwrites "}</span>{constructLink(@props.current.overwrites.name)}</span>
          </div>
      }
      <DocFlagtagsComponent flags={@props.current.flags} style={styles.tags} />
