Bleed
A bleed controls negative whitespace in layouts.Installation
| Install | yarn add @atlaskit/primitives |
|---|---|
| Source | Bitbucket.org, (opens new window) |
| npm | @atlaskit/primitives, (opens new window) |
| Bundle | unpkg.com, (opens new window) |
Props
| Description | Bleed along both axis. |
|---|---|
| Type | "space.025" | "space.050" | "space.100" | "space.150" | "space.200" |
| Description | Bleed along the block axis |
|---|---|
| Type | "space.025" | "space.050" | "space.100" | "space.150" | "space.200" |
| Description | Elements to be rendered inside the Flex. |
|---|---|
| Type | string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal |
| Description |
|
|---|---|
| Type | never |
| Description | Bleed along the inline axis. |
|---|---|
| Type | "space.025" | "space.050" | "space.100" | "space.150" | "space.200" |
| Description | Accessible role. |
|---|---|
| Type | string |
| Description | A unique string that appears as data attribute |
|---|---|
| Type | string |
| Description | Apply a subset of permitted styles powered by Atlassian Design System design tokens. |
|---|---|
| Type | false | (XCSSValue<"appearance" | "color" | "maxWidth" | "grid" | "borderColor" | "clipPath" | "filter" | "marker" | "mask" | "height" | "width" | "translate" | "content" | "border" | ... 487 more ... | "viewTimeline", DesignTokenStyles, ""> & ... 4 more ... & { ...; }) |