Skip to content

Commit efce1dd

Browse files
authored
docs: remove non-essential common props from args table (#954)
* docs: remove non-essential common props from args table * add ref types again
1 parent 2454e54 commit efce1dd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

packages/main/src/interfaces/CommonProps.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@ export interface CommonProps extends HTMLAttributes<HTMLElement> {
1515
* A tooltip which will be shown on hover
1616
*/
1717
tooltip?: string;
18-
slot?: string;
1918
ref?: Ref<any>;
2019
}

shared/stories/DocsCommonProps.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,11 @@ export const DocsCommonProps = {
1515
table: { category: 'Common props' },
1616
type: 'string',
1717
description: 'A tooltip which will be shown on hover'
18+
},
19+
slot: {
20+
table: { disable: true }
21+
},
22+
ref: {
23+
table: { disable: true }
1824
}
1925
};

0 commit comments

Comments
 (0)