Skip to content

Commit 6970944

Browse files
committed
Make easeGradient a named export
1 parent 5deb449 commit 6970944

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

example/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { StatusBar } from 'expo-status-bar'
22
import React from 'react'
33
import { StyleSheet, View } from 'react-native'
44
import { LinearGradient } from 'expo-linear-gradient'
5-
import easeGradient from 'react-native-easing-gradient'
5+
import { easeGradient } from 'react-native-easing-gradient'
66
import { Text } from 'react-native'
77

88
const BACKGROUND_COLOR = '#18181B'

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ function easeGradient({ colorStops, easing = easeInOut }: GradientParams) {
6262
return { colors, locations }
6363
}
6464

65-
export default easeGradient
65+
export { easeGradient }

0 commit comments

Comments
 (0)