Collection Permissions (#829)

see https://github.com/outline/outline/issues/668
This commit is contained in:
Tom Moor
2019-01-05 13:37:33 -08:00
committed by GitHub
parent 8978915423
commit 8c02b0028c
53 changed files with 1379 additions and 214 deletions

View File

@ -27,6 +27,10 @@ const RealInput = styled.input`
&::placeholder {
color: ${props => props.theme.slate};
}
&::-webkit-search-cancel-button {
-webkit-appearance: searchfield-cancel-button;
}
`;
const Wrapper = styled.div`
@ -78,7 +82,10 @@ export default function Input({
<label>
{label && <LabelText>{label}</LabelText>}
<Outline>
<InputComponent {...rest} />
<InputComponent
type={type === 'textarea' ? undefined : type}
{...rest}
/>
</Outline>
</label>
</Wrapper>