PoseGroup: Reordering items
When posed items in a PoseGroup
component are reordered, they’re automatically animated to their new position:
const Item = posed.li();
export default ({ items }) => (
<PoseGroup>
{items.map(({ id }) => <Item key={id} />)}
</PoseGroup>
)