Skip to content

Commit

Permalink
Minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
david0xd committed Dec 11, 2024
1 parent 4ef3253 commit b2c5b43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/snaps-sdk/src/jsx/components/Box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { createSnapComponent } from '../component';
* @property direction - The direction to stack the components within the box. Defaults to `vertical`.
* @property alignment - The alignment mode to use within the box. Defaults to `start`.
* @property center - Whether to center the children within the box. Defaults to `false`.
* @property backgroundColor - Whether the Box needs color adjustments. Defaults to undefined.
*/
export type BoxProps = {
// We can't use `JSXElement` because it causes a circular reference.
Expand Down
2 changes: 1 addition & 1 deletion packages/snaps-sdk/src/jsx/components/Container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const TYPE = 'Container';
* @param props.children - The Box and the Footer or the Box element.
* @returns A container element.
* @example
* <Container backgroundColor="ContainerBackgroundColor.Alternative">
* <Container backgroundColor="default">
* <Box>
* <Text>Hello world!</Text>
* </Box>
Expand Down

0 comments on commit b2c5b43

Please sign in to comment.