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    
@skava/ui-presets / src / presets / SpecificationList / SpecificationList.tsx
Size: Mime:
import React from 'react'
import { SpecificationListProps } from './typings'
import { StyledDetailedList } from './styled'
import Empty from '@skava/ui/dist/components/atoms/Empty'

const renderHeader = () => <Empty />
/**
 * @todo
 * #1 - need to change children tag name as well
 * #2 - need to styled each item in different style
 */
class SpecificationList extends React.PureComponent<SpecificationListProps> {
  render() {
    return (
      <StyledDetailedList
        renderDetailedListHeading={renderHeader}
        {...this.props}
      />
    )
  }
}

export { SpecificationList }
export default SpecificationList