You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/ui-buttons/src/ToggleButton/props.ts
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@ import type {
35
35
}from'@instructure/ui-position'
36
36
importtype{ViewProps}from'@instructure/ui-view'
37
37
import{Renderable}from'@instructure/shared-types'
38
+
importtype{Spacing}from'@instructure/emotion'
38
39
39
40
typeToggleButtonOwnProps={
40
41
/**
@@ -110,6 +111,11 @@ type ToggleButtonOwnProps = {
110
111
* or a function returning an element.
111
112
*/
112
113
constrain?: PositionConstraint
114
+
115
+
/**
116
+
* Margin around the component. Accepts a `Spacing` token. See token values and example usage in [this guide](https://instructure.design/#layout-spacing).
* Margin around the component. Accepts a `Spacing` token. See token values and example usage in [this guide](https://instructure.design/#layout-spacing).
83
+
*/
84
+
margin?: Spacing
77
85
/**
78
86
* A function that provides a reference to the actual underlying input element
0 commit comments