Module mẫu
Run index.php DoInstall function
| devices: ({ | |
| name: "Wireless Mouse MX Master 2S"; | |
| //sudo systemctl enable --now logid | |
| // A lower threshold number makes the wheel switch to free-spin mode | |
| // quicker when scrolling fast. | |
| smartshift: { | |
| on: true; | |
| threshold: 15; |
| devices: ({ | |
| name: "Wireless Mouse MX Master 2S"; | |
| //sudo systemctl enable --now logid | |
| // A lower threshold number makes the wheel switch to free-spin mode | |
| // quicker when scrolling fast. | |
| smartshift: { | |
| on: true; | |
| threshold: 15; |
| const languages = [ | |
| { | |
| name: 'C', | |
| year: 1972 | |
| }, | |
| { | |
| name: 'C#', | |
| year: 2000 | |
| }, | |
| { |
| /** | |
| * | |
| * ServiceEditPage | |
| * | |
| */ | |
| //Lib | |
| import React from "react"; | |
| import PropTypes from "prop-types"; | |
| import { connect } from "react-redux"; | |
| import { createStructuredSelector } from "reselect"; |
| <FieldArray | |
| name='couponList' | |
| render={arrayHelpers => ( | |
| <div> | |
| {values.couponList && values.couponList.length > 0 ? ( | |
| values.couponList.map((coupon, index) => ( | |
| <div key={index}> | |
| <div className="row coupon-item" hidden={coupon.action === 'delete'}> | |
| <div className="col-md-10 details"> | |
| {/* COUPON NAME */} |