Last active
April 24, 2019 05:48
-
-
Save a6kme/49b70c2ae81c62e3ea3efd661bbe7de2 to your computer and use it in GitHub Desktop.
Library code in src/
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
// src/arithmetic/add.js | |
import add from 'lodash/add'; | |
export default (augend, addend) => add(augend, addend); |
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
// src/index.js | |
export { default as max } from './range/max'; | |
export { default as add } from './arithmetic/add'; |
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
// src/range/max.js | |
import { maxBy } from 'lodash/maxBy'; | |
export default array => max(array); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment