Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup!…
Browse files Browse the repository at this point in the history
… fixup! fixup! fixup! fixup! fixup! fixup! feat: new component `FResize` (refs SFKUI-6500)
  • Loading branch information
ext committed Feb 25, 2025
1 parent bcd1152 commit a51d8d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/vue/src/components/FResize/FResize.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ const STEP_SIZE = 10;
const props = withDefaults(
defineProps<{
disabled?: boolean;
min?: string;
max?: string;
initial?: string;
}>(),
{
disabled: false,
min: "0",
max: "100%",
initial: "50%",
Expand Down Expand Up @@ -153,6 +155,7 @@ function getLayoutSize(): number {
<slot v-bind="{ min: state.min, max: state.max, current: state.current }"></slot>
</div>
<div
v-if="!props.disabled"
ref="separator"
role="separator"
class="resize__handle"
Expand Down

0 comments on commit a51d8d1

Please sign in to comment.