import { tableData } from '../../../utils/storybook/ArgTypes';
export const argTypes = {
  'price': {
    name: 'Price {price}',
    defaultValue: '20,80',
    control: { type: 'text' },
    description: 'Used to set the component price',
    table: tableData('Options', 'string', '-'),
  },
  'currency': {
    name: 'Currency symbol {currency}',
    defaultValue: '€',
    control: { type: 'text' },
    description: 'Sets the currency for all prices',
    table: tableData('Options', 'string', '-'),
  },
  'starting-at': {
    name: 'Starting at label {startingAt}',
    defaultValue: '',
    control: { type: 'text' },
    description: 'Specifies any terms related to the price, such as "minimum 12 month contract" or similar. This is presented below the price',
    table: tableData('Options', 'string', '-'),
  },
  'periodicity': {
    name: 'Periodicity {periodicity}',
    defaultValue: '',
    control: { type: 'text' },
    description: 'Sets the periodicity, for example "per month", of the given price. Does not apply to any price in the "terms" section',
    table: tableData('Options', 'string', '-'),
  },
  'full-price': {
    name: 'Full price {fullPrice}',
    defaultValue: 'was 22,20',
    control: { type: 'text' },
    description: 'Sets the price before any discounts. This price, together with the currency, will be presented within parenthesis. For clarity, please write the price like "Down from 39,90" or "Previously 39,90", but in the customer\'s language of course.',
    table: tableData('Options', 'string', '-'),
  },
  'terms': {
    name: 'Terms {terms}',
    defaultValue: '36 month agreement, total price',
    control: { type: 'text' },
    description: 'Specifies any terms related to the price, such as "minimum 12 month contract" or similar. This is presented below the price',
    table: tableData('Options', 'string', '-'),
  },
  'terms-price': {
    name: 'Terms price {termsPrice}',
    defaultValue: '749',
    control: { type: 'text' },
    description: 'Presents the price related to the terms. Currency is added to the end',
    table: tableData('Options', 'string', '-'),
  },
  'terms-full-price': {
    name: 'Full price under terms {termsFullPrice}',
    defaultValue: 'was 799',
    control: { type: 'text' },
    description: 'Presents the price related to the terms before any discounts. This price, together with the currency, will be presented within parenthesis. For clarity, please write the price like "Down from 39,90" or "Previously 39,90", but in the customer\'s language of course.',
    table: tableData('Options', 'string', '-'),
  },
};
