github.com/tilt-dev/tilt@v0.33.15-0.20240515162809-0a22ed45d8a0/web/.storybook/preview.js (about)

     1  import "../src/index.scss"
     2  import { StylesProvider } from '@material-ui/core/styles';
     3  
     4  export const parameters = {
     5    options: {
     6      storySort: {
     7        order: ['New UI', ['OverviewTablePane', 'OverviewResourcePane', 'Overview', 'Log View', 'Shared', '_To Review'], 'Legacy UI'], 
     8      },
     9    },
    10  };
    11  
    12  export const decorators = [
    13    (Story) => (
    14      <>
    15        {/* required for MUI <Icon> */}
    16        <link
    17            rel="stylesheet"
    18            href="https://fonts.googleapis.com/icon?family=Material+Icons"
    19        />
    20        { /* https://material-ui.com/guides/interoperability/#controlling-priority-3 */ }
    21        <StylesProvider injectFirst>
    22          <Story />
    23        </StylesProvider>
    24      </>
    25    ),
    26  ]