Open stropitek opened 6 months ago
For example GetStyleCallback:
GetStyleCallback
export type GetStyleCallback<TData = unknown> = ( roi: Roi<TData>, roiAdditionalState: RoiAdditionalCallbackState, ) => CustomRoiStyle;
Types used by the callback should be exposed by the library. The roi argument should have a more restricted type that keeps what is useful but does not expose implementation details.
roi
For example
GetStyleCallback
:Types used by the callback should be exposed by the library. The
roi
argument should have a more restricted type that keeps what is useful but does not expose implementation details.