UNPKG

@lunit/oui

Version:

Lunit Oncology UI components

32 lines (31 loc) 1.07 kB
import { type PropsWithChildren, ComponentType } from 'react'; export declare const AnalysisBarOuter: ComponentType<any>; export declare const AnalysisBarSegmentContainer: ComponentType<any>; export declare const GraphScoreIndicator: ({ value, isCutoff, isJet, }: { value: string; isCutoff?: boolean; isJet?: boolean; }) => import("react/jsx-runtime").JSX.Element; export declare const GraphAxisLabel: ({ label, leftPos, isCutoff, }: { label: string; leftPos: number; isCutoff?: boolean; }) => JSX.Element; export declare const AxisLabels: ({ children, }: { percent?: boolean; } & PropsWithChildren) => JSX.Element; export declare const AnalysisBarCaption: ({ label }: { label: string; }) => JSX.Element; interface GraphSegmentProps { color: string | undefined; width: number; isCutoff?: boolean; combinedWidth?: number; isNextSegment?: boolean; isOnePercentSegment?: boolean; isFirstSegment: boolean; isLastSegment: boolean; } export declare const GraphSegment: ComponentType<GraphSegmentProps>; export {};