sanity
Version:
Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches
13 lines (9 loc) • 318 B
text/typescript
import {type Placement} from '@sanity/ui'
import {type DialogProps} from '../../../../../ui-components'
export const POPOVER_FALLBACK_PLACEMENTS: Placement[] = ['left', 'bottom']
export const DIALOG_WIDTH_TO_UI_WIDTH: {[key: string]: DialogProps['width']} = {
small: 0,
medium: 1,
large: 2,
full: 'auto',
}