flexbox-react icon indicating copy to clipboard operation
flexbox-react copied to clipboard

Add justifyContent: 'space-evenly' to Flexbox.propTypes

Open pcatkins opened this issue 6 years ago • 2 comments

Hi all, thanks for the great project!

nitpick: Suggesting to add 'space-evenly' as acceptable value for justifyContent prop:

 justifyContent: PropTypes.oneOf([
    'center',
    'flex-end',
    'flex-start',
    'space-around',
    'space-between'
  ]),

pcatkins avatar Apr 02 '18 01:04 pcatkins

I ran into the same problem just now.

I'm gonna make a quick PR #53.

dumboluzz avatar Apr 13 '18 08:04 dumboluzz

Likewise, other possible values are missing. See here : https://developer.mozilla.org/fr/docs/Web/CSS/justify-content

Missing values :

  • stretch
  • left
  • right
  • start
  • end
  • normal
  • safe
  • unsafe

kouak avatar May 31 '18 09:05 kouak