Page MenuHomeSealhub

floating-label.jsx
No OneTemporary

Authored By
Unknown
Size
397 B
Referenced Files
None
Subscribers
None

floating-label.jsx

const React = require('react');
function FloatingLabel(props) {
return (
<div
className={`floating-label floating-label--${props.type ||
'input'}`}
>
<label
htmlFor={props.htmlFor}
className={`floating-label__label floating-label__label--${props.type ||
'input'}`}
>
{props.label}
</label>
{props.children}
</div>
);
}
module.exports = FloatingLabel;

File Metadata

Mime Type
application/javascript
Expires
Fri, Nov 27, 18:21 (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1229358
Default Alt Text
floating-label.jsx (397 B)

Event Timeline