@types/reactcss
TypeScript definitions for ReactCSS
Last updated 5 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/reactcss 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/reactcss

Summary

This package contains type definitions for ReactCSS (http://reactcss.com/).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/reactcss.

index.d.ts

// Type definitions for ReactCSS 1.2.0
// Project: http://reactcss.com/
// Definitions by: Chris Gervang <https://github.com/chrisgervang>, Karol Janyst <https://github.com/LKay>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

import * as React from "react"

interface LoopableProps {
    children?: React.ReactNode;
    ref?: React.LegacyRef<any> | undefined;
    "nth-child": number
    "first-child"?: boolean | undefined
    "last-child"?: boolean | undefined
    even?: boolean | undefined
    odd?: boolean | undefined
}

interface HoverProps<T> {
    children?: React.ReactNode;
    ref?: React.LegacyRef<T> | undefined;
    hover?: boolean | undefined
}

interface Classes<T> {
    default: Partial<T>
    [scope: string]: Partial<T>
}

export type CSS = React.CSSProperties
export function hover<A>(component: React.ComponentClass<A> | React.FunctionComponent<A>): React.ComponentClass<A>
export function loop(index: number, length: number): LoopableProps
export default function reactCSS<T>(classes: Classes<T>, ...activations: Array<any>): T

Additional Details

  • Last updated: Thu, 21 Oct 2021 23:01:45 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by Chris Gervang, and Karol Janyst.

Current Tags

  • 1.2.6                                ...           latest (4 years ago)
  • 1.0.1                                ...           ts2.0 (9 years ago)
  • 1.0.2                                ...           ts2.1 (9 years ago)
  • 1.2.0                                ...           ts2.2 (9 years ago)
  • 1.2.1                                ...           ts2.3 (9 years ago)
  • 1.2.1                                ...           ts2.4 (9 years ago)
  • 1.2.1                                ...           ts2.5 (9 years ago)
  • 1.2.2                                ...           ts2.6 (8 years ago)
  • 1.2.2                                ...           ts2.7 (8 years ago)
  • 1.2.3                                ...           ts2.8 (8 years ago)
  • 1.2.3                                ...           ts2.9 (8 years ago)
  • 1.2.3                                ...           ts3.0 (8 years ago)
  • 1.2.3                                ...           ts3.1 (8 years ago)
  • 1.2.3                                ...           ts3.2 (8 years ago)
  • 1.2.3                                ...           ts3.3 (8 years ago)
  • 1.2.3                                ...           ts3.4 (8 years ago)
  • 1.2.3                                ...           ts3.5 (8 years ago)
  • 1.2.4                                ...           ts3.6 (5 years ago)
  • 1.2.6                                ...           ts3.7 (4 years ago)
  • 1.2.6                                ...           ts3.8 (4 years ago)
  • 1.2.6                                ...           ts3.9 (4 years ago)
  • 1.2.6                                ...           ts4.0 (4 years ago)
  • 1.2.6                                ...           ts4.1 (4 years ago)
  • 1.2.6                                ...           ts4.2 (4 years ago)
  • 1.2.6                                ...           ts4.3 (4 years ago)
  • 1.2.6                                ...           ts4.4 (4 years ago)
  • 1.2.6                                ...           ts4.5 (4 years ago)
  • 1.2.6                                ...           ts4.6 (4 years ago)

10 Versions

  • 1.2.6                                ...           4 years ago
  • 1.2.5                                ...           4 years ago
  • 1.2.4                                ...           5 years ago
  • 1.2.3                                ...           8 years ago
  • 1.2.2                                ...           8 years ago
  • 1.2.1                                ...           9 years ago
  • 1.2.0                                ...           9 years ago
  • 1.0.2                                ...           9 years ago
  • 1.0.1                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |