Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

3 lat temu
123456789101112131415161718192021222324
  1. /**
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. *
  7. * @format
  8. * @flow strict
  9. * @emails oncall+draft_js
  10. */
  11. 'use strict';
  12. /**
  13. * A plain object representation of an entity attribution.
  14. *
  15. * The `key` value corresponds to the key of the entity in the `entityMap` of
  16. * a `ComposedText` object, not for use with `DraftEntity.get()`.
  17. */
  18. export type EntityRange = {
  19. key: number,
  20. offset: number,
  21. length: number,
  22. ...
  23. };