Settings Routes (#449)

* Building out settings area

* Flow and refactoring

* TeamLogo

* Add temporary profile screen

* 💚

* PR feedback
This commit is contained in:
Tom Moor
2017-11-26 18:09:55 -08:00
committed by GitHub
parent 6aa0390e99
commit 505310c172
32 changed files with 456 additions and 317 deletions

View File

@ -11,6 +11,7 @@ const RealTextarea = styled.textarea`
outline: none;
background: none;
&:disabled,
&::placeholder {
color: ${color.slate};
}
@ -23,6 +24,7 @@ const RealInput = styled.input`
outline: none;
background: none;
&:disabled,
&::placeholder {
color: ${color.slate};
}
@ -52,13 +54,18 @@ export const LabelText = styled.div`
`;
export type Props = {
type: string,
type?: string,
value?: string,
label?: string,
className?: string,
};
export default function Input({ type, label, className, ...rest }: Props) {
export default function Input({
type = 'text',
label,
className,
...rest
}: Props) {
const InputComponent = type === 'textarea' ? RealTextarea : RealInput;
return (