UNPKG

lucid-ui

Version:

A UI component library from AppNexus.

35 lines (33 loc) 888 B
import React from 'react'; import { StandardProps } from '../../util/component-types'; export interface ILineProps extends StandardProps, React.SVGProps<SVGPathElement> { /** The path for the line. */ d?: string; /** Strings should match an existing color class unless they start with a '#' for specific colors. E.g.: - \`COLOR_0\` - \`COLOR_GOOD\` - \`'#123abc'\` */ color: string; /** Display a dotted line. */ isDotted: boolean; } export declare const Line: { (props: ILineProps): React.ReactElement; defaultProps: { color: string; isDotted: boolean; }; displayName: string; peek: { description: string; categories: string[]; }; propTypes: { style: any; className: any; d: any; color: any; isDotted: any; }; }; export default Line;