lucid-ui
Version:
A UI component library from AppNexus.
45 lines (44 loc) • 949 B
TypeScript
import React from 'react';
import { StandardProps } from '../../util/component-types';
export declare enum Kind {
Circle = 0,
Square = 1,
TriangleUp = 2,
TriangleDown = 3,
Diamond = 4
}
export interface IPointProps extends StandardProps, React.SVGProps<SVGPathElement> {
hasStroke: boolean;
kind: Kind;
color: string;
scale: number;
x: number;
y: number;
}
export declare const Point: {
(props: IPointProps): React.ReactElement;
defaultProps: {
x: number;
y: number;
kind: number;
color: string;
hasStroke: boolean;
scale: number;
};
displayName: string;
peek: {
description: string;
categories: string[];
};
propTypes: {
style: any;
className: any;
hasStroke: any;
x: any;
y: any;
kind: any;
color: any;
scale: any;
};
};
export default Point;