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

@@ -0,0 +1,29 @@
// @flow
import * as React from 'react';
import { times } from 'lodash';
import styled from 'styled-components';
import Mask from 'components/Mask';
import Fade from 'components/Fade';
import Flex from 'shared/components/Flex';
type Props = {
count?: number,
};
const Placeholder = ({ count }: Props) => {
return (
<Fade>
{times(count || 2, index => (
<Item key={index} column auto>
<Mask />
</Item>
))}
</Fade>
);
};
const Item = styled(Flex)`
padding: 15px 0 16px;
`;
export default Placeholder;