Skip to content

Instantly share code, notes, and snippets.

@assassinave
assassinave / variable-text-object.tsx
Created January 23, 2019 22:34
Define a variable text value in Override to use in Design Component
// Allows you to define a static text value and apply the Override to any number of text objects on the canvas
// Make sure if writing from a clean file you have this import statement at the top to use an Override, etc
import { Data, animate, Override, Animatable } from "framer"
// Define the "const" name as you like and modify "Julie to any value you need
export const MyName: Override = () => {
return {
text: "Julie"
}