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 / src / forms / views / CommentBox / CommentBox.tsx
Size: Mime:
import React from 'react'
import { Form } from './Form'
import { CommentBoxProps } from './typings'
import { FormWrapper } from './styled'

class CommentBox extends React.Component<CommentBoxProps> {
  render() {
    const { className, dataQa } = this.props
    const passThroughProps = {
      className,
      'data-qa': dataQa,
    }
    return (
      <FormWrapper {...passThroughProps}>
        <Form {...this.props} />
      </FormWrapper>
    )
  }
}

export { CommentBox }
export default CommentBox