Files
topola-viewer/src/util/media.ts
czifumasa f3d98338cb Improvements for events in info panel (#72)
* Improved visuals of events panel, handle family events

* Create separate package for details panel

* Improved handling of multiple event notes
2021-10-26 12:49:18 +02:00

12 lines
315 B
TypeScript

import {createMedia} from '@artsy/fresnel';
/** Defines the breakpoints at which to show different UI variants.*/
const AppMedia = createMedia({
breakpoints: {
small: 320,
large: 768,
},
});
export const mediaStyles = AppMedia.createMediaStyle();
export const {Media, MediaContextProvider} = AppMedia;