Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into 56310
  • Loading branch information
DianaDerevyankina committed Apr 10, 2020
2 parents a6dd7f1 + b09c31a commit 8824aa4
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions src/plugins/charts/public/static/components/collections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,14 @@
* under the License.
*/

import { $Values } from '@kbn/utility-types';
export enum ColorModes {
BACKGROUND = 'Background',
LABELS = 'Labels',
NONE = 'None',
}

export const ColorModes = Object.freeze({
BACKGROUND: 'Background' as 'Background',
LABELS: 'Labels' as 'Labels',
NONE: 'None' as 'None',
});
export type ColorModes = $Values<typeof ColorModes>;

export const Rotates = Object.freeze({
HORIZONTAL: 0,
VERTICAL: 90,
ANGLED: 75,
});
export type Rotates = $Values<typeof Rotates>;
export enum Rotates {
HORIZONTAL = 0,
VERTICAL = 90,
ANGLED = 75,
}

0 comments on commit 8824aa4

Please sign in to comment.