11---
2- name : ConcealMove
3- route : /conceal-move
2+ name : FocalConcealMove
3+ route : /focal- conceal-move
44menu : Focal animations
55---
66
@@ -20,14 +20,14 @@ import PlayButton from '@material-ui/icons/PlayArrow';
2020import BackIcon from ' @material-ui/icons/ArrowBack' ;
2121import MoreVert from ' @material-ui/icons/MoreVert' ;
2222import { lighten } from ' polished' ;
23- import ConcealMove from ' ../index' ;
23+ import FocalConcealMove from ' ../index' ;
2424import Noop from ' ../../Noop' ;
2525import Baba from ' ../../../Baba' ;
2626import FocalTarget from ' ../../../FocalTarget' ;
2727import * as Styled from ' ./styled' ;
2828import albumArt from ' ./images/foster.jpg' ;
2929
30- # ConcealMove
30+ # FocalConcealMove
3131
3232Useful for transitioning from a child to a parent,
3333will shrink from the container to the focal element.
@@ -36,15 +36,15 @@ Requires the use of the [FocalTarget](/focal-target) component to specify the fo
3636## Usage
3737
3838``` js
39- import Baba , { ConcealMove , FocalTarget } from ' yubaba' ;
39+ import Baba , { FocalConcealMove , FocalTarget } from ' yubaba' ;
4040```
4141
4242> ** Tip -** Click the back button in the album art to conceal it.
4343
4444<Playground >
4545 { () => {
4646 const revealingImage = ({ albumArt }) => (
47- <Baba name = " conceal-move" >
47+ <Baba name = " focal- conceal-move" >
4848 { ({ ref , style }) => (
4949 <Link to = " /details" >
5050 <Styled.BackgroundImage src = { albumArt } style = { style } innerRef = { ref } />
@@ -73,8 +73,8 @@ import Baba, { ConcealMove, FocalTarget } from 'yubaba';
7373 );
7474
7575 const albumDetails = ({ color , albumArt , name , artist , songs }) => (
76- <Baba name = " conceal-move" >
77- <ConcealMove >
76+ <Baba name = " focal- conceal-move" >
77+ <FocalConcealMove >
7878 { (baba ) => (
7979 <div { ... baba } >
8080 <Styled.DetailsRoot color = { color } >
@@ -147,7 +147,7 @@ import Baba, { ConcealMove, FocalTarget } from 'yubaba';
147147 </Styled.DetailsRoot >
148148 </div >
149149 )}
150- </ConcealMove >
150+ </FocalConcealMove >
151151 </Baba >
152152 );
153153
@@ -200,7 +200,7 @@ import Baba, { ConcealMove, FocalTarget } from 'yubaba';
200200
201201## Props
202202
203- <PropsTable of = { ConcealMove } />
203+ <PropsTable of = { FocalConcealMove } />
204204
205205## Troubleshooting
206206
0 commit comments