diff --git a/CHANGELOG.md b/CHANGELOG.md index 12c6a5a28055c0878ea411f861f39e497e429d64..795551d47867a4bf9790951db52d2751c23b3add 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ Note that since we don't clearly distinguish between a public and private interf - Pointer lock to look around scene - Toggle spin/rock animation using keys - Apply bumpiness as lightness variation with `ignoreLight` +- Remove `JSX` reference from `loci-labels.ts` ## [v3.32.0] - 2023-03-20 diff --git a/src/mol-plugin-state/manager/loci-label.ts b/src/mol-plugin-state/manager/loci-label.ts index b5b9f94127d1733d14531269e5ec0347a53f5dbd..fab0260d451e52393c395804a158473a0cf6b51b 100644 --- a/src/mol-plugin-state/manager/loci-label.ts +++ b/src/mol-plugin-state/manager/loci-label.ts @@ -11,7 +11,8 @@ import { Representation } from '../../mol-repr/representation'; import { MarkerAction } from '../../mol-util/marker-action'; import { arrayRemoveAtInPlace } from '../../mol-util/array'; -export type LociLabel = JSX.Element | string +// any represents React element. For compatibility to including the type +export type LociLabel = string | any export type LociLabelProvider = { label: (loci: Loci, repr?: Representation<any>) => LociLabel | undefined group?: (entry: LociLabel) => string