UNPKG

@combine-labs/combine-polaris

Version:

Combine Lab's product component library. Forked from Shopify's Polaris.

13 lines (12 loc) 484 B
import * as React from 'react'; export declare type WhenHidden = 'none' | 'tablet' | 'laptop' | 'desktop'; export declare type BelowHidden = 'none' | 'mobile' | 'tablet' | 'laptop'; export interface Props { /** The content to be hidden visually */ children?: React.ReactNode; /** Hide at and above this width */ when?: WhenHidden; /** Hide below this width */ below?: BelowHidden; } export default function Hide({ children, when, below }: Props): JSX.Element;