Created
November 17, 2015 14:50
-
-
Save dmitry-vsl/e876d4522d93924152c3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Тестовое задание по react.js | |
Надо написать компонент для выбора цвета, который выглядит так: | |
R +-|-------+ | |
G +-------|-+ | |
B +--|------+ | |
Каждый компонент цвета редактируется через <input type='range'> | |
Результат - массив [r,g,b], например черный цвет представляется как [0,0,0]. | |
Выбранный цвет отображается как background-color компонента. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment