HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/oura.mlazu.com/node_modules/recharts/types/shape/Sector.d.ts
import * as React from 'react';
import { SVGProps } from 'react';
interface SectorProps {
    className?: string;
    /**
     * The x-coordinate of center.
     * @default 0
     */
    cx?: number;
    /**
     * The y-coordinate of center.
     * @default 0
     */
    cy?: number;
    /**
     * The inner radius of the sector.
     * @default 0
     */
    innerRadius?: number;
    /**
     * The outer radius of the sector.
     * @default 0
     */
    outerRadius?: number;
    /**
     * The start angle of the sector.
     * @default 0
     */
    startAngle?: number;
    /**
     * The end angle of the sector.
     * @default 0
     */
    endAngle?: number;
    /**
     * The radius of corners.
     * @default 0
     */
    cornerRadius?: number;
    /**
     * Whether force to render round corner when the angle of sector is very small
     * @default false
     */
    forceCornerRadius?: boolean;
    cornerIsExternal?: boolean;
    /**
     * The customized event handler of click on the sector
     */
    onClick?: (e: React.MouseEvent<SVGPathElement>) => void;
    /**
     * The customized event handler of mousedown on the sector
     */
    onMouseDown?: (e: React.MouseEvent<SVGPathElement>) => void;
    /**
     * The customized event handler of mouseup on the sector
     */
    onMouseUp?: (e: React.MouseEvent<SVGPathElement>) => void;
    /**
     * The customized event handler of mousemove on the sector
     */
    onMouseMove?: (e: React.MouseEvent<SVGPathElement>) => void;
    /**
     * The customized event handler of mouseover on the sector
     */
    onMouseOver?: (e: React.MouseEvent<SVGPathElement>) => void;
    /**
     * The customized event handler of mouseout on the sector
     */
    onMouseOut?: (e: React.MouseEvent<SVGPathElement>) => void;
    /**
     * The customized event handler of mouseenter on the sector
     */
    onMouseEnter?: (e: React.MouseEvent<SVGPathElement>) => void;
    /**
     * The customized event handler of mouseleave on the sector
     */
    onMouseLeave?: (e: React.MouseEvent<SVGPathElement>) => void;
}
/**
 * SVG cx, cy are `string | number | undefined`, but internally we use `number` so let's
 * override the types here.
 */
export type Props = Omit<SVGProps<SVGPathElement>, 'cx' | 'cy' | 'dangerouslySetInnerHTML'> & Partial<SectorProps>;
export declare const defaultSectorProps: {
    readonly cx: 0;
    readonly cy: 0;
    readonly innerRadius: 0;
    readonly outerRadius: 0;
    readonly startAngle: 0;
    readonly endAngle: 0;
    readonly cornerRadius: 0;
    readonly forceCornerRadius: false;
    readonly cornerIsExternal: false;
};
export declare const Sector: React.FC<Props>;
export {};