How to use the cozy-ui/transpiled/react/palette.charcoalGrey function in cozy-ui

To help you get started, we’ve selected a few cozy-ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cozy / cozy.github.io / en / cozy-banks / src / ducks / transactions / actions / HealthExpenseStatusAction.jsx View on Github external
text: t(`Transactions.actions.healthExpenseBill`).replace(
                  '%{vendor}',
                  reimbursement.bill.vendor
                )
              }}
            />
          
        )
      })}
    
  )
}

const action = {
  name,
  color: palette.charcoalGrey,
  // eslint-disable-next-line react/display-name
  getIcon: ({ transaction }) => {
    const color = isPending(transaction)
      ? palette.pomegranate
      : palette.dodgerBlue

    return 
  },
  match: transaction => {
    return (
      isHealthExpense(transaction) &&
      getVendors(transaction) &&
      !flag('reimbursements.tag')
    )
  },
  Component: compose(
github cozy / cozy.github.io / en / cozy-banks / src / ducks / transactions / TransactionActions.jsx View on Github external
const MenuAction = ({
  action,
  transaction,
  actionProps,
  compact = false,
  menuPosition,
  isModalItem
}) => {
  const { Component } = action
  const color = action.disabled
    ? palette.charcoalGrey
    : action.color || actionProps.color || PRIMARY_ACTION_COLOR

  return (
    
  )
}