mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
chore: complete first pass of apply jsdoc annotations to component props
This commit is contained in:
parent
566a281d81
commit
f30755b237
97 changed files with 2327 additions and 259 deletions
|
@ -1,10 +1,45 @@
|
|||
<script>
|
||||
/**
|
||||
* 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>)
|
||||
* @type {boolean} [as=false]
|
||||
*/
|
||||
export let as = false;
|
||||
|
||||
/**
|
||||
* Set to `true` to use the condensed variant
|
||||
* @type {boolean} [condensed=false]
|
||||
*/
|
||||
export let condensed = false;
|
||||
|
||||
/**
|
||||
* Set to `true` to use the narrow variant
|
||||
* @type {boolean} [narrow=false]
|
||||
*/
|
||||
export let narrow = false;
|
||||
|
||||
/**
|
||||
* Set to `true` to use the fullWidth variant
|
||||
* @type {boolean} [fullWidth=false]
|
||||
*/
|
||||
export let fullWidth = false;
|
||||
|
||||
/**
|
||||
* Set to `true` to remove the gutter
|
||||
* @type {boolean} [noGutter=false]
|
||||
*/
|
||||
export let noGutter = false;
|
||||
|
||||
/**
|
||||
* Set to `true` to remove the left gutter
|
||||
* @type {boolean} [noGutterLeft=false]
|
||||
*/
|
||||
export let noGutterLeft = false;
|
||||
|
||||
/**
|
||||
* Set to `true` to remove the right gutter
|
||||
* @type {boolean} [noGutterRight=false]
|
||||
*/
|
||||
export let noGutterRight = false;
|
||||
|
||||
$: props = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue