Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22401480
floating-label.jsx
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
397 B
Referenced Files
None
Subscribers
None
floating-label.jsx
View Options
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
Details
Attached
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)
Attached To
Mode
rSEALPAGE Sealpage
Attached
Detach File
Event Timeline