2021-10-25 22:00:56 +08:00
|
|
|
import styled from 'styled-components';
|
|
|
|
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
|
2022-02-15 04:20:50 +08:00
|
|
|
import Button from '/imports/ui/components/common/button/component';
|
2021-10-25 22:00:56 +08:00
|
|
|
|
|
|
|
const HideDropdownButton = styled(Button)`
|
|
|
|
${({ open }) => open && `
|
|
|
|
@media ${smallOnly} {
|
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
`}
|
|
|
|
`;
|
|
|
|
|
|
|
|
export default {
|
|
|
|
HideDropdownButton,
|
2021-10-25 22:15:16 +08:00
|
|
|
};
|