UNPKG

@geist-ui/core

Version:

Modern and minimalist React UI library.

14 lines (13 loc) 454 B
import React from 'react'; import { ReactiveDomReact } from "../utils/layouts"; declare type Props = { rect: ReactiveDomReact; visible?: boolean; hoverHeightRatio?: number; hoverWidthRatio?: number; activeOpacity?: number; }; declare type NativeAttrs = Omit<React.HTMLAttributes<any>, keyof Props>; export declare type HighlightProps = Props & NativeAttrs; declare const Highlight: React.FC<HighlightProps>; export default Highlight;