frankcollins3 / T.H.E.-

Take Home Exercise
0 stars 0 forks source link

styled component which is an input can't wrap other components [1:20pm] #7

Closed frankcollins3 closed 3 months ago

frankcollins3 commented 3 months ago

attempting to do: use styled components to create state based dynamic styling as opposed to redundant sass declarations

error: titled. cant be a parent component.

proposed approach: remove styled component as wrapper if not possibly just be redundant to save time as matter of hedging against "pre-emptively optimizing" if that phrase applies to this

frankcollins3 commented 3 months ago

in the name of time redundant .scss declarations for the checkbox extenuating circumstance that it's essentially a non stylable element: have to checkbox and :before:after :pseudo-class-style a <label> element. 🏳closing; solved by change of approach ../