@types/css-to-react-native
TypeScript icon, indicating that this package has built-in type declarations

3.0.2 • Public • Published

Installation

npm install --save @types/css-to-react-native

Summary

This package contains type definitions for css-to-react-native (https://github.com/styled-components/css-to-react-native).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/css-to-react-native.

index.d.ts

export type StyleTuple = [string, string];

export interface Style {
    [key: string]: string | number | Style;
}

export function getPropertyName(name: string): string;

export function getStylesForProperty(name: string, value: string, allowShorthand?: boolean): Style;

export default function transform(styleTuples: StyleTuple[], shorthandBlacklist?: string[]): Style;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by Luiz F. Jacção, and Jacob Parker.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/css-to-react-native

Weekly Downloads

1,885

Version

3.0.2

License

MIT

Unpacked Size

3.58 kB

Total Files

5

Last publish

Collaborators

  • types