New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/reactcss

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/reactcss

TypeScript definitions for reactcss

1.2.12
ts4.6
ts4.7
ts4.8
ts4.9
Source
npm
Version published
Weekly downloads
511K
-18.43%
Maintainers
1
Weekly downloads
 
Created
Source

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

import * as React from "react";

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

interface HoverProps<T> extends React.RefAttributes<T> {
    children?: React.ReactNode;
    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: any[]): T;

Additional Details

  • Last updated: Thu, 29 Feb 2024 19:35:43 GMT
  • Dependencies: @types/react

Credits

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

FAQs

Package last updated on 29 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts