mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 11:59:34 +00:00
refactor(recursive-list): remove superfluous nested prop
This commit is contained in:
parent
b74a7494b5
commit
e3f89c0afb
3 changed files with 4 additions and 21 deletions
|
@ -3046,10 +3046,9 @@ export interface RecursiveListNode {
|
|||
### Props
|
||||
|
||||
| Prop name | Kind | Reactive | Type | Default value | Description |
|
||||
| :-------- | :--------------- | :------- | :-------------------------------------------------------------------------- | ------------------------ | --------------------------------------- |
|
||||
| :-------- | :--------------- | :------- | :-------------------------------------------------------------------------- | ------------------------ | ---------------------------------- |
|
||||
| children | <code>let</code> | No | <code>Array<RecursiveListNode & { children?: RecursiveListNode[]; }></code> | <code>[]</code> | Specify the children to render |
|
||||
| type | <code>let</code> | No | <code>"unordered" | "ordered" | "ordered-native"</code> | <code>"unordered"</code> | Specify the type of list to render |
|
||||
| nested | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to use the nested variant |
|
||||
|
||||
### Slots
|
||||
|
||||
|
|
|
@ -7887,16 +7887,6 @@
|
|||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "nested",
|
||||
"kind": "let",
|
||||
"description": "Set to `true` to use the nested variant",
|
||||
"type": "boolean",
|
||||
"value": "false",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
}
|
||||
],
|
||||
"slots": [],
|
||||
|
|
6
types/RecursiveList/RecursiveList.d.ts
vendored
6
types/RecursiveList/RecursiveList.d.ts
vendored
|
@ -19,12 +19,6 @@ export interface RecursiveListProps {
|
|||
* @default "unordered"
|
||||
*/
|
||||
type?: "unordered" | "ordered" | "ordered-native";
|
||||
|
||||
/**
|
||||
* Set to `true` to use the nested variant
|
||||
* @default false
|
||||
*/
|
||||
nested?: boolean;
|
||||
}
|
||||
|
||||
export default class RecursiveList extends SvelteComponentTyped<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue