Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
if (onChange) {
tmp.onChange = Js_primitive.valFromOption(onChange);
}
if (onKeyDown) {
tmp.onKeyDown = Js_primitive.valFromOption(onKeyDown);
}
if (autoFocus) {
tmp.autoFocus = Js_primitive.valFromOption(autoFocus);
}
if (minRows) {
tmp.minRows = Js_primitive.valFromOption(minRows);
}
if (maxRows) {
tmp.maxRows = Js_primitive.valFromOption(maxRows);
}
return ReasonReact.wrapJsForReason(ReactTextareaAutosize.default, tmp, children);
}
position: absolute;
top: 15px;
transform: translateY(-50%);
right: 0;
box-sizing: border-box;
padding: 3px 6px 3px 0;
width: 20px;
cursor: pointer;
transition: stroke 0.3s ease-in-out;
stroke: ${Color.Grey60};
&:hover {
stroke: ${Color.Grey20};
}
`;
const StyledTextArea = styled(TextareaAutosize.default)`
resize: none;
${PropertyInputStyles};
`;
export const PropertyItemString: React.StatelessComponent = props => (
);