defaultSearchBar.tsx 452 B

1234567891011121314151617
  1. import styled from '@emotion/styled';
  2. import {space} from 'sentry/styles/space';
  3. import AsyncView from 'sentry/views/asyncView';
  4. export type RenderSearch = React.ComponentProps<
  5. typeof AsyncView.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. `;