Rect.d.ts 428 B

1234567891011121314151617
  1. import { h, Point, Size } from '@logicflow/core';
  2. declare type IProps = {
  3. className?: string;
  4. radius?: number;
  5. stroke?: string;
  6. strokeDasharray?: string;
  7. } & Point & Size;
  8. declare function Rect(props: IProps): h.JSX.Element;
  9. declare namespace Rect {
  10. var defaultProps: {
  11. radius: number;
  12. stroke: string;
  13. strokeDasharray: string;
  14. className: string;
  15. };
  16. }
  17. export default Rect;