Sha256: 50226c55205b0fe63deabdb5d89245e9aa8b6151552625abbbc32dafd149a94a

Contents?: true

Size: 547 Bytes

Versions: 6

Compression:

Stored size: 547 Bytes

Contents

/* @flow */

import React, { Component } from 'react'
import classnames from 'classnames'

import { TabType } from '../Tab/Tab'

type Props = {
  className?: string,
  children: Array<TabType>,
}

import styles from './tabList.scss'

export default class TabList extends Component<Props> {
  props: Props

  render() {
    const {
      className,
      children,
    } = this.props

    const css = [
      className,
      styles[`tabList`],
    ]

    return (
      <div className={classnames(css)}>
        {children}
      </div>
    )
  }
}

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
playbook_ui-2.7.2 components/TabList/TabList.jsx
playbook_ui-2.7.1 components/TabList/TabList.jsx
playbook_ui-2.7.0 components/TabList/TabList.jsx
playbook_ui-2.6.0 components/TabList/TabList.jsx
playbook_ui-2.5.0 components/TabList/TabList.jsx
nitro_sg-3.0.2 components/TabList/TabList.jsx