@@ -7,6 +7,7 @@ import Effect.Class.Console (warn)
77import Effect.Unsafe (unsafePerformEffect)
88import Foreign.Object as Object
99import Framer.Motion as M
10+import React.Basic.DOM (css)
1011import React.Basic.DOM as R
1112import React.Basic.Emotion (StyleProperty)
1213import React.Basic.Hooks (reactComponent)
@@ -15,8 +16,7 @@ import Record.Extra (sequenceRecord)
1516import Yoga.Block.Atom.Input.Style as Style
1617
1718type Props =
18− { onClickLargeLabel ∷ EventHandler
19− , isRequired ∷ Boolean
19+ { isRequired ∷ Boolean
2020 , isInvalid ∷ Boolean
2121 , isFocussed ∷ Boolean
2222 , renderLargeLabel ∷ Boolean
@@ -117,10 +117,10 @@ component =
117117 }
118118 labelSpan =
119119 M.span
120− </ { onClick: props.onClickLargeLabel
121− , layout: M.layout true
120+ </ { layout: M.layout true
122121 , layoutId: M.layoutId "ry-input-label-text"
123122 , htmlFor: props.inputId
123+ , style: css { pointerEvents: "none" }
124124 , id: props.labelId
125125 }
126126 pure result