|
12345678910111213141516171819202122232425262728 |
- /**
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- *
- * @format
- * @flow strict-local
- * @emails oncall+draft_js
- */
- 'use strict';
-
- const {
- OrderedSet
- } = require("immutable");
-
- module.exports = {
- BOLD: (OrderedSet.of('BOLD'): OrderedSet<string>),
- BOLD_ITALIC: (OrderedSet.of('BOLD', 'ITALIC'): OrderedSet<string>),
- BOLD_ITALIC_UNDERLINE: (OrderedSet.of('BOLD', 'ITALIC', 'UNDERLINE'): OrderedSet<string>),
- BOLD_UNDERLINE: (OrderedSet.of('BOLD', 'UNDERLINE'): OrderedSet<string>),
- CODE: (OrderedSet.of('CODE'): OrderedSet<string>),
- ITALIC: (OrderedSet.of('ITALIC'): OrderedSet<string>),
- ITALIC_UNDERLINE: (OrderedSet.of('ITALIC', 'UNDERLINE'): OrderedSet<string>),
- NONE: (OrderedSet(): OrderedSet<string>),
- STRIKETHROUGH: (OrderedSet.of('STRIKETHROUGH'): OrderedSet<string>),
- UNDERLINE: (OrderedSet.of('UNDERLINE'): OrderedSet<string>)
- };
|