Learning React and trying to cheat off this codepen. I do not understand 2 things about the map function in FormCard.
Why does this .map function have a
returnstatement, I did not see a return on other examplesWhy does the arrow function use curly braces instead of parentheses like the previous arrow function
const FormCard = (props) => (
  const FormCard = (props) => (
  <div>
    {
      DATA.map((props) => {
        return <div style={{...largebox, ...flex}} key={props.id}>
          <div style={{...Photo,backgroundImage: `url(${props.photo})`}}></div>
          <div>
            <Author author={props.author}/>
            <Something bio={props.bio}/>
            <AdBox adpic={props.adpic} />
            <IconBox />
          </div>
      </div>
      })
    }
  </div>
)