UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

15 lines 456 B
import type React from 'react'; import { type CSSProperties } from 'react'; type Viewport = 'narrow' | 'regular' | 'wide'; export type HiddenProps = { when: Array<Viewport> | Viewport; children: React.ReactNode; className?: string; style?: CSSProperties; }; export declare const Hidden: { ({ when, className, style, children }: HiddenProps): React.JSX.Element; displayName: string; }; export {}; //# sourceMappingURL=Hidden.d.ts.map