Skip to content

Commit

Permalink
refactor: spaceItems -> spaceEvenly
Browse files Browse the repository at this point in the history
  • Loading branch information
awesthouse committed Feb 8, 2024
1 parent 4c88820 commit 2ae3a03
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{
"name": "horizontalPlacement",
"type": "CORE:BlueprintAttribute",
"description": "left, center, right or spaceItems",
"description": "left, center, right or spaceEvenly",
"attributeType": "string",
"optional": true,
"default": "left"
Expand Down
2 changes: 1 addition & 1 deletion packages/dm-core-plugins/src/stack/StackPlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const StackPlugin = (props: IUIPlugin) => {
right: 'flex-end',
top: 'flex-start',
bottom: 'flex-end',
spaceItems: 'space-between',
spaceEvenly: 'space-between',
}

const stackProps: StackProps = {
Expand Down
2 changes: 1 addition & 1 deletion packages/dm-core-plugins/src/stack/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { TViewConfig } from '@development-framework/dm-core'
export type StackPluginConfig = {
items: TViewConfig[]
direction: 'horizontal' | 'vertical'
horizontalPlacement: 'left' | 'center' | 'right' | 'spaceItems'
horizontalPlacement: 'left' | 'center' | 'right' | 'spaceEvenly'
verticalPlacement: 'top' | 'center' | 'bottom'
spacing: number
maxWidth: string
Expand Down

0 comments on commit 2ae3a03

Please sign in to comment.