storybook/docs/snippets/common/component-story-sort-controls.js.mdx
2021-06-28 23:00:33 +01:00

11 lines
294 B
Plaintext

```js
// YourComponent.stories.js | YourComponent.stories.jsx | YourComponent.stories.ts | YourComponent.stories.tsx
import { YourComponent } from './your-component'
export default {
title:'My Story',
component: YourComponent,
parameters: { controls: { sort: 'requiredFirst' } },
};
```