Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
})(() => {
const story = ;
return inlineTemplate({
title: 'Client Sortable Table',
documentationLink: `${DOCUMENTATION_URL.PATTERNFLY_ORG_CONTENT_VIEWS}table-view/`,
story,
description: reactabularDescription
});
})
);
/>
<h3>Responsive Tables</h3>
<div>
</div>
);
return inlineTemplate({
title: 'Bootstrap Table Styles',
documentationLink: `${DOCUMENTATION_URL.PATTERNFLY_ORG_CONTENT_VIEWS}table-view/`,
story,
description: reactabularDescription
});
})
);
withInfo()(() => {
const story = (
<div>
<h2>PatternFly recommendation: Bootstrap striped, bordered, hover, and responsive</h2>
</div>
);
return inlineTemplate({
title: 'PatternFly Table Styles',
documentationLink: `${DOCUMENTATION_URL.PATTERNFLY_ORG_CONTENT_VIEWS}table-view/`,
story,
description: reactabularDescription
});
})
);
import { storybookPackageName, DOCUMENTATION_URL, STORYBOOK_CATEGORY } from 'storybook/constants/siteConstants';
import { Button } from '../Button';
import { DropdownKebab } from '../DropdownKebab';
import { Icon } from '../Icon';
import { MenuItem } from '../MenuItem';
import { ListView } from './index';
import { MockCompoundExpansion, MockCompoundExpansionSource } from './__mocks__/mockCompoundExpansionExample';
import { mockListItems } from './__mocks__/mockListItems';
import { name } from '../../../package.json';
const stories = storiesOf(`${storybookPackageName(name)}/${STORYBOOK_CATEGORY.CONTENT_VIEWS}/List View`, module);
stories.addDecorator(withKnobs);
stories.addDecorator(
defaultTemplate({
title: 'ListView',
documentationLink: `${DOCUMENTATION_URL.PATTERNFLY_ORG_CONTENT_VIEWS}list-view/`
})
);
const renderActions = () => (
<div>
<button>Details</button>
</div>
);
const renderAdditionalInfoItems = itemProperties =>
itemProperties &&
Object.keys(itemProperties).map(prop => {
const cssClassNames = classNames('pficon', {
'pficon-flavor': prop === 'hosts',
'pficon-cluster': prop === 'clusters',
'pficon-container-node': prop === 'nodes',
})(() => {
const logAction = decorateAction([args => args]);
const story = ;
return inlineTemplate({
title: 'Server Paginated Table',
documentationLink: `${DOCUMENTATION_URL.PATTERNFLY_ORG_CONTENT_VIEWS}table-view/`,
story,
description: reactabularDescription
});
})
);
})(() => {
const logAction = decorateAction([args => args]);
const story = ;
return inlineTemplate({
title: 'Client Paginated Table',
documentationLink: `${DOCUMENTATION_URL.PATTERNFLY_ORG_CONTENT_VIEWS}table-view/`,
story,
description: reactabularDescription
});
})
);