import styled from 'styled-components' ; export const FactorInput = styled . div < { withoutTypeSelector : boolean ; } > `
  .ds-autocomplete {
    min-width: 144px;
    width: 100%;
    .ant-select {
      width: 100%;
    }
    .ant-select-selection-placeholder {
      padding: 0;
    }
    .ant-select-selector {
      border-radius: ${ ( props ) : string => ( props . withoutTypeSelector ? '3px' : '0 3px 3px 0' ) };
    }
  }
  .ant-dropdown-trigger {
    input {
      border-radius: ${ ( props ) : string => ( props . withoutTypeSelector ? '3px' : '0 3px 3px 0' ) };
    }
  }
` ;