1.1.2 • Published 7 months ago

@types/cloudfour__simple-svg-placeholder v1.1.2

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

Installation

npm install --save @types/cloudfour__simple-svg-placeholder

Summary

This package contains type definitions for @cloudfour/simple-svg-placeholder (https://github.com/cloudfour/simple-svg-placeholder#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cloudfour__simple-svg-placeholder.

index.d.ts

// Type definitions for @cloudfour/simple-svg-placeholder 1.0
// Project: https://github.com/cloudfour/simple-svg-placeholder#readme
// Definitions by: Mike Deverell <https://github.com/devrelm>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare function simpleSvgPlaceholder(options?: {
    width?: number | undefined;
    height?: number | undefined;
    text?: string | undefined;
    fontFamily?: string | undefined;
    fontWeight?: string | number | undefined;
    fontSize?: number | undefined;
    dy?: number | undefined;
    bgColor?: string | undefined;
    textColor?: string | undefined;
    dataUri?: boolean | undefined;
    charset?: string | undefined;
}): string;

export = simpleSvgPlaceholder;

Additional Details

  • Last updated: Mon, 09 May 2022 22:31:33 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Mike Deverell.