Sha256: 5fa84a51e8aa9c6fab0a88277f91c6e2ced0c12481f08ae105ead24ee446e6f9
Contents?: true
Size: 1.48 KB
Versions: 44
Compression:
Stored size: 1.48 KB
Contents
import PropTypes from 'prop-types'; import { Alert, Breadcrumb, Button, Card, Checkbox, Chip, ChipGroup, ContextSelector, Dropdown, DropdownItem, DropdownSeparator, DropdownToggle, DropdownToggleCheckbox, FormSelect, Menu, Modal, ModalContent, Nav, NavExpandable, NavItem, OptionsMenu, Pagination, Radio, Select, Switch, TabButton, TabContent, Tabs, Text, TextInput, Title, Toolbar, } from '@patternfly/react-core'; import { Table, TableComposable, Tr, } from '@patternfly/react-table'; const checkForOuiaIds = () => { const ouiaSupportedPFComponents = [ Alert, Breadcrumb, Button, Card, Checkbox, Chip, ChipGroup, ContextSelector, Dropdown, DropdownItem, DropdownSeparator, DropdownToggle, DropdownToggleCheckbox, FormSelect, Menu, Modal, ModalContent, Nav, NavExpandable, NavItem, OptionsMenu, Pagination, Radio, Select, Switch, TabButton, TabContent, Tabs, Text, TextInput, Title, Toolbar, Table, TableComposable, Tr, ]; beforeEach(() => { // eslint-disable-next-line no-restricted-syntax for (const Component of ouiaSupportedPFComponents) { // eslint-disable-next-line no-continue if (!Component) continue; Component.propTypes = { ...Component.propTypes, ouiaId: PropTypes.string.isRequired, }; } }); }; export default checkForOuiaIds;
Version data entries
44 entries across 44 versions & 1 rubygems
Version | Path |
---|---|
katello-4.7.1 | webpack/ouia_id_check.js |
katello-4.7.0 | webpack/ouia_id_check.js |
katello-4.7.0.rc2 | webpack/ouia_id_check.js |
katello-4.7.0.rc1 | webpack/ouia_id_check.js |