Skip to content

Commit

Permalink
Merge pull request #215 from nandorojo/v19
Browse files Browse the repository at this point in the history
🎄 v19
  • Loading branch information
nandorojo committed Sep 21, 2022
2 parents ce6f2f0 + 926d80c commit df1ba2b
Show file tree
Hide file tree
Showing 49 changed files with 288 additions and 2,143 deletions.
2 changes: 1 addition & 1 deletion docs/docs/api/motify.md
Expand Up @@ -30,7 +30,7 @@ Notice that `motify()` returns a function. At the moment, the function it return
This is the component file in `moti`:

```tsx
import { motify } from '../core'
import { motify } from '../moti'
import {
View as RView,
Text as RText,
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/examples/dropdown.md
Expand Up @@ -21,7 +21,7 @@ import {
MotiPressable,
useMotiPressable,
useMotiPressableAnimatedProps,
} from '@motify/interactions'
} from 'moti/interactions'
import { MotiView } from 'moti'
import { Ionicons } from '@expo/vector-icons'

Expand Down
9 changes: 1 addition & 8 deletions docs/docs/next-js.md
Expand Up @@ -22,14 +22,7 @@ const withFonts = require('next-fonts')
const withImages = require('next-images')
const withPlugins = require('next-compose-plugins')

const withTM = require('next-transpile-modules')([
'moti',

// add these for moti versions before 0.0.19
// '@motify/core',
// '@motify/components'
])

const withTM = require('next-transpile-modules')(['moti'])
module.exports = withPlugins(
[withTM, withFonts, withImages, [withExpo, { projectRoot: __dirname }]],
{
Expand Down
2 changes: 1 addition & 1 deletion examples/with-expo/src/Moti.PressableMenu.tsx
Expand Up @@ -13,7 +13,7 @@ import {
MotiPressable,
useMotiPressable,
useMotiPressableAnimatedProps,
} from '@motify/interactions'
} from 'moti/interactions'
import { MotiView } from 'moti'
import { Ionicons } from '@expo/vector-icons'

Expand Down
2 changes: 1 addition & 1 deletion examples/with-expo/src/Moti.PressableTooltip.tsx
Expand Up @@ -6,7 +6,7 @@ import {
MotiPressable,
useMotiPressable,
useMotiPressableTransition,
} from '@motify/interactions'
} from 'moti/interactions'

function Logo() {
const state = useMotiPressable(
Expand Down
2 changes: 1 addition & 1 deletion examples/with-expo/src/Moti.Skeleton.tsx
@@ -1,7 +1,7 @@
import React, { useReducer } from 'react'
import { StyleSheet, Pressable } from 'react-native'
import { View } from 'moti'
import { Skeleton } from '@motify/skeleton'
import { Skeleton } from 'moti/skeleton'

const Spacer = ({ height = 16 }) => <View style={{ height }} />

Expand Down

1 comment on commit df1ba2b

@vercel
Copy link

@vercel vercel bot commented on df1ba2b Sep 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.