mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-03 05:04:51 +08:00
Merge pull request #18609 from storybookjs/hmleo/vue-methods
Addon-docs: Include Vue methods in ArgsTable
This commit is contained in:
commit
834f8cf425
@ -2,7 +2,7 @@ import type { StrictArgTypes } from '@storybook/csf';
|
||||
import type { ArgTypesExtractor } from '@storybook/docs-tools';
|
||||
import { hasDocgen, extractComponentProps, convert } from '@storybook/docs-tools';
|
||||
|
||||
const SECTIONS = ['props', 'events', 'slots'];
|
||||
const SECTIONS = ['props', 'events', 'slots', 'methods'];
|
||||
|
||||
export const extractArgTypes: ArgTypesExtractor = (component) => {
|
||||
if (!hasDocgen(component)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user