Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

Yossapol / wds-react

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • wds-react
  • server
  • routes
  • button
  • buttonType.js
  • rtclub11140's avatar
    add component button · 5eb3c290
    rtclub11140 committed Mar 01, 2019
    5eb3c290 Browse Files
buttonType.js 228 Bytes
BlameHistoryPermalink
Edit
1 2 3 4 5 6 7 8 9 10 11
const buttonType = require('../../json/button/buttonType.json')

class ButtonType {
  constructor(app) {
    app.post('/button/getButtonType', (req, res) => {
      res.send(buttonType)
    })
  }
}

module.exports = ButtonType