Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/sentry/static/sentry/app/views/settings/components/row.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import {Flex} from 'grid-emotion';
import styled from 'react-emotion';

const Row = styled(Flex)`
border-bottom: 1px solid ${p => p.theme.borderLight};

&:last-child {
border: 0;
}
`;

export default Row;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Flex, Box} from 'grid-emotion';
import {Box} from 'grid-emotion';
import PropTypes from 'prop-types';
import React from 'react';
import styled from 'react-emotion';
Expand All @@ -8,9 +8,10 @@ import Avatar from '../../../../components/avatar';
import Button from '../../../../components/buttons/button';
import Confirm from '../../../../components/confirm';
import Link from '../../../../components/link';
import Tooltip from '../../../../components/tooltip';
import LoadingIndicator from '../../../../components/loadingIndicator';
import Row from '../../components/row';
import SentryTypes from '../../../../proptypes';
import Tooltip from '../../../../components/tooltip';
import recreateRoute from '../../../../utils/recreateRoute';

const UserName = styled(Link)`
Expand All @@ -22,14 +23,6 @@ const Email = styled.div`
font-size: 14px;
`;

const Row = styled(Flex)`
border-bottom: 1px solid ${p => p.theme.borderLight};

&:last-child {
border: 0;
}
`;

export default class OrganizationMemberRow extends React.PureComponent {
static propTypes = {
routes: PropTypes.array,
Expand Down