mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
chore: update CONTRIBUTING.md, add MAINTAINERS.md [ci skip]
This commit is contained in:
parent
81593b6602
commit
b00e4316fd
4 changed files with 12 additions and 20 deletions
|
@ -83,8 +83,8 @@ Each component should adopt the following structure:
|
|||
src/Component
|
||||
│
|
||||
└───Component.svelte // main component
|
||||
└───Component.Skeleton.svelte // Skeleton component (if any)
|
||||
└───index.js // export components (e.g. `Component.svelte`, `Component.Skeleton.svelte`)
|
||||
└───ComponentSkeleton.svelte // Skeleton component (if applicable)
|
||||
└───index.js // export components
|
||||
```
|
||||
|
||||
### Editing a component
|
||||
|
@ -93,10 +93,10 @@ If adding or editing an exported component prop, be sure to annotate its value u
|
|||
|
||||
```js
|
||||
/**
|
||||
* Set to `true` to disable the tab
|
||||
* @type {boolean} [disabled=false]
|
||||
* Specify the size of the component
|
||||
* @type {"sm" | "default" | "lg"}
|
||||
*/
|
||||
export let disabled = false;
|
||||
export let size = "default";
|
||||
```
|
||||
|
||||
### Creating a component
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue