File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
packages/snaps-sdk/src/jsx/components Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import { createSnapComponent } from '../component';
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`.
1010 * @property center - Whether to center the children within the box. Defaults to `false`.
11+ * @property backgroundColor - Whether the Box needs color adjustments. Defaults to undefined.
1112 */
1213export type BoxProps = {
1314 // We can't use `JSXElement` because it causes a circular reference.
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const TYPE = 'Container';
2727 * @param props.children - The Box and the Footer or the Box element.
2828 * @returns A container element.
2929 * @example
30- * <Container backgroundColor="ContainerBackgroundColor.Alternative ">
30+ * <Container backgroundColor="default ">
3131 * <Box>
3232 * <Text>Hello world!</Text>
3333 * </Box>
You can’t perform that action at this time.
0 commit comments