bufferapp/ui

View on GitHub
scripts/new-component-template/src/components/ComponentNamePlaceholder/ComponentNamePlaceholder.jsx

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react'

import PropTypes from 'prop-types'
import styled from 'styled-components'
import * as Styles from './style'

const ComponentNamePlaceholderStyled = styled.div`
  ${Styles.base}
`

const ComponentNamePlaceholder = ({ children }) => (
  <ComponentNamePlaceholderStyled>{children}</ComponentNamePlaceholderStyled>
)

ComponentNamePlaceholder.propTypes = {
  children: PropTypes.node.isRequired,
}

export default ComponentNamePlaceholder