@atlaskit/pragmatic-drag-and-drop-react-drop-indicator
Version:
An optional Pragmatic drag and drop package containing react components that provide a visual indication about what the user will achieve when the drop (eg lines)
30 lines (29 loc) • 612 B
TypeScript
/**
* Any valid CSS size value.
*
* _An alias to `string` to improve readability_
*
* @example
*
* - "2px"
* - "4rem"
* // ADS tokens (which resolve to CSS size values)
* - token('border.width.selected')
*/
export type CSSSize = string;
/**
* Any valid CSS color value
*
* * _An alias to `string` to improve readability_
*
* @example
*
* - "#663399"
* - "rgb(102, 51, 153)"
* - "hsl(270, 50%, 40%)"
* - "rebeccapurple"
* // ADS tokens (which resolve to CSS color values)
* - token('color.border.selected')
*/
export type CSSColor = string;
export type Appearance = 'default' | 'warning';