Skip to content

Commit

Permalink
Make easeGradient a named export
Browse files Browse the repository at this point in the history
  • Loading branch information
phamfoo committed Jun 26, 2021
1 parent 5deb449 commit 6970944
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { StatusBar } from 'expo-status-bar'
import React from 'react'
import { StyleSheet, View } from 'react-native'
import { LinearGradient } from 'expo-linear-gradient'
import easeGradient from 'react-native-easing-gradient'
import { easeGradient } from 'react-native-easing-gradient'
import { Text } from 'react-native'

const BACKGROUND_COLOR = '#18181B'
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ function easeGradient({ colorStops, easing = easeInOut }: GradientParams) {
return { colors, locations }
}

export default easeGradient
export { easeGradient }

0 comments on commit 6970944

Please sign in to comment.