1.0.5 • Published 6 months ago

@types/mui-image v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/mui-image

Summary

This package contains type definitions for mui-image (https://github.com/benmneb/mui-image).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mui-image.

index.d.ts

// Type definitions for mui-image 1.0
// Project: https://github.com/benmneb/mui-image
// Definitions by: benmneb <https://github.com/benmneb>
// Definitions: https://github.com/DefinitelyTyped/mui-image
// (With a little help from Natalia <https://github.com/CodeMeNatalie>)

import * as React from 'react';

interface MuiImageProps {
    alt?: string | undefined;
    bgColor?: React.CSSProperties['backgroundColor'] | undefined;
    className?: string | undefined;
    distance?: string | number | undefined;
    duration?: number | undefined;
    easing?: React.CSSProperties['transitionTimingFunction'] | undefined;
    errorIcon?: boolean | React.ReactNode | undefined;
    fit?: React.CSSProperties['objectFit'] | undefined;
    height?: React.CSSProperties['height'] | number | undefined;
    iconWrapperClassName?: string | undefined;
    iconWrapperStyle?: React.CSSProperties | undefined;
    onError?: (...args: any[]) => void | undefined;
    onLoad?: (...args: any[]) => void | undefined;
    position?: React.CSSProperties['position'] | undefined;
    shift?: 'left' | 'right' | 'top' | 'bottom' | false | null | undefined;
    shiftDuration?: number | undefined;
    showLoading?: boolean | React.ReactNode | undefined;
    src: string;
    style?: React.CSSProperties | undefined;
    width?: React.CSSProperties['width'] | number | undefined;
    wrapperClassName?: string | undefined;
    wrapperStyle?: React.CSSProperties | undefined;
}

declare const Image: React.FC<MuiImageProps>;
export default Image;
export { Image };

Additional Details

  • Last updated: Tue, 24 May 2022 16:01:40 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by benmneb.

1.0.2

8 months ago

1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

7 months ago

1.0.1

2 years ago

1.0.0

2 years ago