How to use the @airbnb/lunar/src/components/DataTable/constants.STATUS_OPTIONS.ALERT function in @airbnb/lunar

To help you get started, we’ve selected a few @airbnb/lunar examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github airbnb / lunar / .storybook / components / DataTable / DataTableData.jsx View on Github external
tenureDays: 820,
        menu: '',
        cats: 3,
      },
      metadata: {
        children: [
          {
            data: {
              name: 'Coding Cece',
              jobTitle: 'Engineer',
              tenureDays: 1610,
              menu: '',
              cats: 2,
            },
            metadata: {
              status: STATUS_OPTIONS.ALERT,
            },
          },
          {
            data: {
              name: 'Hacker Helen',
              jobTitle: 'Engineer',
              tenureDays: 1095,
              menu: '',
              cats: 3,
            },
          },
        ],
      },
    },
    {
      data: {
github airbnb / lunar / .storybook / components / DataTable / DataTableData.jsx View on Github external
cats: 3,
            },
          },
        ],
      },
    },
    {
      data: {
        name: 'Dev Ops Danny',
        jobTitle: 'Engineer',
        tenureDays: 30,
        menu: '',
        cats: 1,
      },
      metadata: {
        status: STATUS_OPTIONS.ALERT,
      },
    },
  ];
}