defaultSearchBar.tsx 482 B

1234567891011121314151617
  1. import styled from '@emotion/styled';
  2. import {space} from 'sentry/styles/space';
  3. import DeprecatedAsyncView from 'sentry/views/deprecatedAsyncView';
  4. export type RenderSearch = React.ComponentProps<
  5. typeof DeprecatedAsyncView.prototype.renderSearchInput
  6. >['children'];
  7. export const SearchWrapper = styled('div')`
  8. display: flex;
  9. grid-template-columns: 1fr max-content;
  10. gap: ${space(1.5)};
  11. margin-top: ${space(4)};
  12. margin-bottom: ${space(1.5)};
  13. position: relative;
  14. `;