@types/carbon__layout
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Installation

npm install --save @types/carbon__layout

Summary

This package contains type definitions for @carbon/layout (https://github.com/IBM/carbon-elements/tree/master/packages/layout).

Details

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

index.d.ts

export const baseFontSize: number;

export const breakpoints: {
    lg: {
        columns: number;
        margin: string;
        width: string;
    };
    max: {
        columns: number;
        margin: string;
        width: string;
    };
    md: {
        columns: number;
        margin: string;
        width: string;
    };
    sm: {
        columns: number;
        margin: string;
        width: string;
    };
    xlg: {
        columns: number;
        margin: string;
        width: string;
    };
};

export const miniUnit: number;

export const spacing: number[];

export function breakpoint(...args: any[]): string;

export function breakpointDown(name: string): string;

export function breakpointUp(name: string): string;

export function em(px: number): string;

export function miniUnits(count: number): string;

export function px(value: number): string;

export function rem(px: number): string;

export namespace breakpoint {
    const prototype: {};
}

export namespace breakpointDown {
    const prototype: {};
}

export namespace breakpointUp {
    const prototype: {};
}

export namespace em {
    const prototype: {};
}

export namespace miniUnits {
    const prototype: {};
}

export namespace px {
    const prototype: {};
}

export namespace rem {
    const prototype: {};
}

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by Vince Picone.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/carbon__layout

Weekly Downloads

844

Version

0.0.3

License

MIT

Unpacked Size

5.21 kB

Total Files

5

Last publish

Collaborators

  • types