Commit 245e63ce authored by Mark Florian's avatar Mark Florian

Expect uppercase sizes from backend

Addresses https://gitlab.com/gitlab-org/gitlab/-/issues/238554.
parent 8ad39554
import { s__ } from '~/locale'; import { s__ } from '~/locale';
export const SMALL = 'small'; export const SMALL = 'SMALL';
export const MEDIUM = 'medium'; export const MEDIUM = 'MEDIUM';
export const LARGE = 'large'; export const LARGE = 'LARGE';
// The backend will supply sizes matching the keys of this map; the values // The backend will supply sizes matching the keys of this map; the values
// correspond to values acceptable to the underlying components' size props. // correspond to values acceptable to the underlying components' size props.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment