mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-07-18 01:31:47 +00:00
* Improved visuals of events panel, handle family events * Create separate package for details panel * Improved handling of multiple event notes
12 lines
315 B
TypeScript
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;
|