import { ComponentTreeNode } from "@/redux/currentApp/components/componentsState"


export const fixedLikeInputComponentDefaultValue = (
  component: ComponentTreeNode,
) => {
  return {
    ...component,
    props: {
      ...component.props,
      value: undefined,
      defaultValue: component.props?.defaultValue || "",
    },
  }
}
