Dragging 拖拽
import * as React from "react"
import { Frame } from "framer"
export function MyComponent() {
return <Frame drag={true} />
}Constraints 拖拽限制区域
import * as React from "react"
import { Frame } from "framer"
export function MyComponent() {
return (
<Frame
drag={true}
dragConstraints={{
left: -100,
right: 100,
top: -100,
bottom: 100,
}}
/>
)
}Last updated