Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "colour/complimentary"

Index

Functions

colourComplimentary

  • colourComplimentary(colour: keyof IColours): keyof IColours
  • Provides a complimentary colour to a IColours colour name.

    example
    import { colourComplimentary } from '@ef-carbon/react-native-style';
    colourComplimentary('red'); // 'green'

    Parameters

    • colour: keyof IColours

      the colour name to provide the compliementary for

    Returns keyof IColours

    the compliementary colour name