mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
Build lib
This commit is contained in:
parent
06ecbe78c3
commit
585341dd9c
6 changed files with 38 additions and 7 deletions
5
types/Grid/Column.d.ts
vendored
5
types/Grid/Column.d.ts
vendored
|
@ -9,8 +9,7 @@ export interface ColumnSizeDescriptor {
|
|||
|
||||
export type ColumnBreakpoint = ColumnSize | ColumnSizeDescriptor;
|
||||
|
||||
export interface ColumnProps
|
||||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
|
||||
export interface ColumnProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
|
||||
/**
|
||||
* Set to `true` to render a custom HTML element
|
||||
* Props are destructured as `props` in the default slot (e.g. <Column let:props><article {...props}>...</article></Column>)
|
||||
|
@ -42,7 +41,7 @@ export interface ColumnProps
|
|||
aspectRatio?: "2x1" | "16x9" | "9x16" | "1x2" | "4x3" | "3x4" | "1x1";
|
||||
|
||||
/**
|
||||
* Set to `true` to add top and bottom padding
|
||||
* Set to `true` to add top and bottom padding this column
|
||||
* @default false
|
||||
*/
|
||||
padding?: boolean;
|
||||
|
|
3
types/Grid/Grid.d.ts
vendored
3
types/Grid/Grid.d.ts
vendored
|
@ -1,7 +1,6 @@
|
|||
/// <reference types="svelte" />
|
||||
|
||||
export interface GridProps
|
||||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
|
||||
export interface GridProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
|
||||
/**
|
||||
* Set to `true` to render a custom HTML element
|
||||
* Props are destructured as `props` in the default slot (e.g. <Grid let:props><header {...props}>...</header></Grid>)
|
||||
|
|
3
types/Grid/Row.d.ts
vendored
3
types/Grid/Row.d.ts
vendored
|
@ -1,7 +1,6 @@
|
|||
/// <reference types="svelte" />
|
||||
|
||||
export interface RowProps
|
||||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
|
||||
export interface RowProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
|
||||
/**
|
||||
* Set to `true` to render a custom HTML element
|
||||
* Props are destructured as `props` in the default slot (e.g. <Row let:props><section {...props}>...</section></Row>)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue