Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

gaoju / O2O

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • O2O
  • src
  • routes
  • Invitation
  • templates.js
  • gaoju's avatar
    first · 36b40e1c
    gaoju committed Oct 12, 2019
    36b40e1c Browse Files
templates.js 398 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

import css from './css.less';

const Templates = (props) => {
  return (
    <div className={css.tmpsWrap}>
      {
        props.templates && props.templates.map(itm => (
          <div className={css.itm} key={itm.id} onClick={() => {
            props.addInvitation(itm);
          }}><img src={itm.invitationPath} alt='' /></div>
        ))
      }
    </div>
  )
}

export default Templates;