* Filter search by collectionId
* Improve spec, remove recursive import
* Add userId filter for documents.search
* 💚
* Search filter UI
* WIP UI
* Date filtering
Prevent dupe menu
* Refactor
* button
* Added year option, improved hover states
* Add new indexes
* Remove manual string interpolation in SQL construction
* Move dateFilter validation to controller
* Fixes: Double query when changing filter
Fixes: Visual jump between filters in dropdown
* Add option to clear filters
* More clearly define dropdowns in dark mode
* Checkbox -> Checkmark
21 lines
391 B
JavaScript
21 lines
391 B
JavaScript
// @flow
|
|
import * as React from 'react';
|
|
import styled from 'styled-components';
|
|
|
|
type Props = {
|
|
children: React.Node,
|
|
};
|
|
|
|
const Empty = (props: Props) => {
|
|
const { children, ...rest } = props;
|
|
return <Container {...rest}>{children}</Container>;
|
|
};
|
|
|
|
const Container = styled.div`
|
|
display: flex;
|
|
color: ${props => props.theme.slate};
|
|
text-align: center;
|
|
`;
|
|
|
|
export default Empty;
|