
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
@types/reactcss
Advanced tools
TypeScript definitions for reactcss
npm install --save @types/reactcss
This package contains type definitions for reactcss (http://reactcss.com/).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/reactcss.
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;
These definitions were written by Chris Gervang, and Karol Janyst.
FAQs
TypeScript definitions for reactcss
The npm package @types/reactcss receives a total of 635,792 weekly downloads. As such, @types/reactcss popularity was classified as popular.
We found that @types/reactcss demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.