mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
feat(grid): support narrow prop for Grid, Row
This commit is contained in:
parent
a194e8b7b5
commit
77b4d32c62
3 changed files with 30 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
<script>
|
||||
export let as = false;
|
||||
export let condensed = false;
|
||||
export let narrow = false;
|
||||
export let fullWidth = false;
|
||||
export let noGutter = false;
|
||||
export let noGutterLeft = false;
|
||||
|
@ -12,6 +13,7 @@
|
|||
$$restProps.class,
|
||||
"bx--grid",
|
||||
condensed && "bx--grid--condensed",
|
||||
narrow && "bx--grid--narrow",
|
||||
fullWidth && "bx--grid--full-width",
|
||||
noGutter && "bx--no-gutter",
|
||||
noGutterLeft && "bx--no-gutter--left",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue