import {Fragment} from 'react'; import {Button} from 'sentry/components/button'; import FieldGroup from 'sentry/components/forms/fieldGroup'; import { Panel, PanelAlert, PanelBody, PanelHeader, PanelItem, PanelTable, } from 'sentry/components/panels'; import {IconTelescope} from 'sentry/icons'; import {_BulkController} from './bulkController.stories'; export default { title: 'Components/Tables/Panels', args: { dashedBorder: false, }, }; export const BasicPanel = ({...args}) => ( Panel Header Panel Item Panel Item Panel Item ); BasicPanel.parameters = { docs: { description: { story: 'Basic Panel component used in most settings', }, }, }; export const PanelAlerts = ({...args}) => ( Panel Header Info Alert message Error Alert message Warning Alert message Success Alert message }> Custom Icon message Panel Item ); PanelAlerts.parameters = { docs: { description: { story: 'Alert boxes inside a panel', }, }, }; export const _PanelTable = () => ( Header #1, 'Header #2', Custom Header Wooooo, '']} > Panel Item with really long content Panel Item Panel Item Panel Item Panel Item Panel Item Panel Item Panel Item Panel Item Panel Item Panel Item One Row One Row One Row Header #1, 'Header #2', Custom Header Wooooo]} > Panel Item Panel Item Panel Item Header #1, 'Header #2', Custom Header Wooooo]} > Panel Item Panel Item Panel Item <_BulkController /> ); _PanelTable.parameters = { docs: { description: { story: 'A Panel for "tabular" data', }, }, }; export const WithFields = ({...args}) => ( Panel Header Remove Remove ); _PanelTable.parameters = { docs: { description: { story: 'Non-connected form field item', }, }, };