import {Component, Fragment} from 'react'; import styled from '@emotion/styled'; import {EditOwnershipRulesModalOptions} from 'sentry/actionCreators/modal'; import {t} from 'sentry/locale'; import TextBlock from 'sentry/views/settings/components/text/textBlock'; import OwnerInput from 'sentry/views/settings/project/projectOwnership/ownerInput'; type Props = EditOwnershipRulesModalOptions; type State = {}; class EditOwnershipRulesModal extends Component { render() { const {ownership} = this.props; return ( {t('Globbing Syntax')} {'* matches everything\n? matches any single character'} {t('Examples')} path:src/example/pipeline/* person@sentry.io #infra {'\n'} module:com.module.name.example #sdks {'\n'} url:http://example.com/settings/* #product #infra {'\n'} tags.sku_class:enterprise #enterprise {ownership && } ); } } const Block = styled(TextBlock)` margin-bottom: 16px; `; const CodeBlock = styled('pre')` word-break: break-all; white-space: pre-wrap; `; export default EditOwnershipRulesModal;