0.0.5 • Published 5 years ago

eslint-plugin-static-react-components v0.0.5

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

eslint-plugin-static-react-components

import { RichText } from 'vtex.rich-text'
import { Image } from 'vtex.store-image'
import { Row, Col } from 'vtex.flex-layout'

export default ({ src, content }) => {
  return (
    <Row>
      <Col>
        <Image src={src} />
      </Col>
      <Col>
        <RichText text={content} />
      </Col>
    </Row>
  )
}