Skip to content
Snippets Groups Projects
Commit c1bc0081 authored by dsehnal's avatar dsehnal
Browse files

Fix JSX reference

parent 25457846
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,7 @@ Note that since we don't clearly distinguish between a public and private interf ...@@ -11,6 +11,7 @@ Note that since we don't clearly distinguish between a public and private interf
- Pointer lock to look around scene - Pointer lock to look around scene
- Toggle spin/rock animation using keys - Toggle spin/rock animation using keys
- Apply bumpiness as lightness variation with `ignoreLight` - Apply bumpiness as lightness variation with `ignoreLight`
- Remove `JSX` reference from `loci-labels.ts`
## [v3.32.0] - 2023-03-20 ## [v3.32.0] - 2023-03-20
......
...@@ -11,7 +11,8 @@ import { Representation } from '../../mol-repr/representation'; ...@@ -11,7 +11,8 @@ import { Representation } from '../../mol-repr/representation';
import { MarkerAction } from '../../mol-util/marker-action'; import { MarkerAction } from '../../mol-util/marker-action';
import { arrayRemoveAtInPlace } from '../../mol-util/array'; 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 = { export type LociLabelProvider = {
label: (loci: Loci, repr?: Representation<any>) => LociLabel | undefined label: (loci: Loci, repr?: Representation<any>) => LociLabel | undefined
group?: (entry: LociLabel) => string group?: (entry: LociLabel) => string
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment