import styled , { createGlobalStyle } from 'styled-components' ; import Picker from 'rmc-picker/es/Picker' ; import styles from 'rmc-picker/assets/index.css' ; export const GlobalStyle = createGlobalStyle `
  .rmc-multi-picker {
    user-select: none;
  }
  .rmc-picker-indicator {
    display: none;
  }
  .rmc-column-item-content {
    unicode-bidi: plaintext;
    direction: rtl;
    color: #3f3f3e;
    transition: all 250ms cubic-bezier(0.55, 0.085, 0.68, 0.53) 0s;
  }
  ${ styles }
` ; export type CaptionProps = { columnSize : number ; } ; export const StyledCaption = styled . div < CaptionProps > `
  display: inline-block;
  text-align: center;
  width: ${ ( props ) => `${ 100 / props . columnSize }%` };
  color: #616161;
  padding-bottom: 5px;
  font-size: 1.1em;
  cursor: default;
  user-select: none;
  &:not(:empty) {
    border-bottom: 1px solid #e0e0e0;
  }
` ; StyledCaption . displayName = 'PersianTools(WheelPicker)(Caption)' ; export const StyledTitle = styled . div `
  width: 100%;
  text-align: center;
  line-height: 55px;
  color: #1672ec;
  font-weight: bold;
  font-size: 1.1em;
  cursor: default;
  user-select: none;
` ; StyledTitle . displayName = 'PersianTools(WheelPicker)(Title)' ; export const StyledWheelPicker = styled ( Picker ) `` ; StyledWheelPicker . displayName = 'PersianTools(WheelPicker)(PickerColumns)' ; export const StyledWheelPickerItem = styled ( Picker . Item ) `` ; StyledWheelPickerItem . displayName = 'PersianTools(WheelPicker)(PickerItems)' ;