import { ViewStyle } from 'react-native';

import { color } from '../../theme';

export const iconStyles = {
  container: {
    alignItems: 'center',
    justifyContent: 'center',
  } as ViewStyle,
};

/**
 * All the variations of icon colors.
 */
export const iconPresets = {
  default: color.text,
  error: color.error,
  success: color.success,
  warning: color.warning,
};

export type PresetNames = keyof typeof iconPresets;
