Molecules - FormCheckboxComponent
Admin私のストアShare
This article explains the Molecules FormCheckboxComponent.
The FormCheckBoxComponent is a combination of a BoxComponent, a BoxTextComponent, a BoxImageComponent, and a ClickComponent.
BoxComponent determines the relative position to the parent component, and BoxTextComponent displays the title. BoxImageComponent displays the ON/OFF image depending on the checkbox value. ClickComponent updates the boolean value of CHECK when clicked.
The input parameters are the BoxComponent's placement, width, height, and background color, the TextComponent's title, font size, and color, and the boolean value of CHECK to update with ClickComponent.