This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const case1: string[] = ['alex', 'bob', 'john', 'alex2', 'bob2', 'john2'] | |
const case2: string[] = ['alex', 'bob', 'john', 'alex2', 'bob2', 'john2', 'alex3'] | |
const case3: string[] = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17'] | |
const getGroupCount = (length: number) => { | |
if (length % 5 > 2) { | |
return 5 | |
} | |
if (length % 4 > 2) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gfhgfhfghfghfghfghfgh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var React = require("react"); | |
module.exports = function (locals) { | |
var tags = []; | |
var locals_for_with = locals || {}; | |
(function(checked, label, onChange) { | |
tags.push(React.createElement.apply(React, [ "div", { | |
className: "Checkbox flex middle" | |
} ].concat(function() { | |
var tags = []; | |
tags.push(React.createElement.apply(React, [ "button", { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var React = require("react"); | |
module.exports = function (locals) { | |
var tags = []; | |
var locals_for_with = locals || {}; | |
(function(checked, label, onChange) { | |
tags.push(React.createElement.apply(React, [ "div", { | |
className: "Checkbox flex middle" | |
} ].concat(function() { | |
var tags = []; | |
tags.push(React.createElement.apply(React, [ "button", { |