Added hide to style selector and more modularizated the code

This commit is contained in:
2021-09-19 00:41:18 -03:00
parent e8e826d7ff
commit 7d558fd54c
14 changed files with 321 additions and 128 deletions

View File

@@ -0,0 +1,18 @@
import React from 'react'
const StyleSelectionChildren = (props) => {
return (
<div className="style-container">
<span class="checkbox__input">
<input id={`input-${props.number}`} type="checkbox"></input>
<span className="checkbox_control"></span>
</span>
<label for={`input-${props.number}`}>
<span className="title">{props.title}</span>
<span className="times">{props.times}</span>
</label>
</div>
)
}
export default StyleSelectionChildren