import {SFC} from 'react'

interface Props {
  children?: any
}

const FeatureFlag: SFC<Props> = props => {
  if (process.env.NODE_ENV === 'development') {
    return props.children
  }

  return null
}

export default FeatureFlag

import {SFC} from 'react'

interface Props {
  name?: string
  children?: any
}

const FeatureFlag: SFC<Props> = props => {
  if (process.env.NODE_ENV === 'development') {
    return props.children
  }

  return null
}

export default FeatureFlag

Define name type for feature flag
Define name type for feature flag
