Last active
May 29, 2023 21:12
-
-
Save onuro/2dec61528db3bb12395a66b5cef272df to your computer and use it in GitHub Desktop.
Standard Framer Controls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { addPropertyControls, ControlType, RenderTarget } from "framer" | |
export const flexDirection = { | |
type: ControlType.SegmentedEnum, | |
title: "Direction", | |
options: ["row", "column"], | |
optionTitles: [ | |
"⇆", | |
"⇅", | |
// @ts-ignore | |
// <span | |
// // @ts-ignore | |
// dangerouslySetInnerHtml={{ __html: "o̲" }} | |
// style={{ fontSize: "30px" }} | |
// />, | |
], | |
defaultValue: "row", | |
} | |
export const flexJustify = { | |
type: ControlType.Enum, | |
title: "Justify", | |
options: [ | |
"start", | |
"center", | |
"space-between", | |
"space-around", | |
"space-evenly", | |
], | |
defaultValue: "center", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment