import styled from "styled-components";
import React from "react";
const StyledLabel = styled.label`
position: relative;
& > div:first-child {
position: absolute;
}
& > div > span {
display: block;
transform: translateY(-0.2em);
font-weight: 700;
font-size: 1em;
opacity: 0.5;
transition: opacity 0.5s cubic-bezier(.25,.8,.25,1);
}
&:hover > span {
opacity: 1;
}
`
const FloatingLabel = (props) =>
{props.children}
export const Labelled = ({label, value, children}) =>
{label}
{children}