mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +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 noGutter = false;
|
||||
export let noGutterLeft = false;
|
||||
export let noGutterRight = false;
|
||||
|
@ -11,6 +12,7 @@
|
|||
$$restProps.class,
|
||||
"bx--row",
|
||||
condensed && "bx--row--condensed",
|
||||
narrow && "bx--row--narrow",
|
||||
noGutter && "bx--no-gutter",
|
||||
noGutterLeft && "bx--no-gutter--left",
|
||||
noGutterRight && "bx--no-gutter--right",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue