import {LinearGradient, LinearGradientProps} from 'expo-linear-gradient';

export interface GradientProps extends LinearGradientProps {}

/**
 * Wrapper around Expo's LinearGradient.
 *
 * @param colors - must include at least 2 colors.
 */
export const Gradient = (props: GradientProps) => {
  return <LinearGradient {...props} />;
};
