File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/snaps-sdk/src/jsx/components Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { createSnapComponent } from '../component';
77 * @property children - The children of the box.
88 * @property direction - The direction to stack the components within the box. Defaults to `vertical`.
99 * @property alignment - The alignment mode to use within the box. Defaults to `start`.
10- * @property crossAlignment - The cross alignment mode to use within the box. Defaults to `start`.
10+ * @property crossAlignment - The cross alignment mode to use within the box.
1111 * @property center - Whether to center the children within the box. Defaults to `false`.
1212 */
1313export type BoxProps = {
@@ -32,6 +32,10 @@ const TYPE = 'Box';
3232 *
3333 * @param props - The props of the component.
3434 * @param props.children - The children of the box.
35+ * @param props.direction - The direction to stack the components within the box. Defaults to `vertical`.
36+ * @param props.alignment - The alignment mode to use within the box. Defaults to `start`.
37+ * @param props.crossAlignment - The cross alignment mode to use within the box.
38+ * @param props.center - Whether to center the children within the box. Defaults to `false`.
3539 * @returns A box element.
3640 * @example
3741 * <Box>
You can’t perform that action at this time.
0 commit comments