Sha256: e83208b1814e7cb40c3456a5f7c43e906ae637f27434b90f6cf890d79c9426ab

Contents?: true

Size: 714 Bytes

Versions: 1

Compression:

Stored size: 714 Bytes

Contents

import React from 'react'
import classnames from 'classnames'
import { buildHtmlProps } from '../utilities/props'
import { globalProps, GlobalProps } from "../utilities/globalProps"

type TimelineDetailAreaProps = {
  children?: React.ReactNode,
  className?: string,
  htmlOptions?: { [key: string]: any },
} & GlobalProps

const TimelineDetailArea: React.FC<TimelineDetailAreaProps> = ({
  children,
  className,
  htmlOptions = {},
  ...props
}) => {
  const htmlProps = buildHtmlProps(htmlOptions)
  return (
    <div
        {...htmlProps}
        className={classnames('pb_timeline_item_right_block', globalProps(props), className)}
    >
      {children}
    </div>
  )
}

export default TimelineDetailArea

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
playbook_ui-14.5.0.pre.alpha.play1586datearea4115 app/pb_kits/playbook/pb_timeline/_detail_area.tsx