ant-design/components/form/interface.ts
𝑾𝒖𝒙𝒉 61d4a3c18b
fix(Form.focusField): improve focus logic (#52726)
(cherry picked from commit c4de3540e8b36b7a7ed29ac686dcf9fc7d1db1e9)

fix(Form.focusField): improve focus logic

# Conflicts:
#	components/form/Form.tsx

(cherry picked from commit d1613c3f25179e7ca105e43d328630eb1bfbe9e7)

docs: update

(cherry picked from commit d4d28b34de)
(cherry picked from commit 84e788555c241bdb4a0a044fac8e0541f119b503)

chore: update docs

(cherry picked from commit ae3444b64eb9d2a25c8eeddb535ccb9d11d7d8a3)

test: add unit test

(cherry picked from commit 1e794f9d46fc6e45940ebc6b5f8407a8a4d49f7a)

chore: update

docs: update

chore: fix

chore: update
2025-02-11 10:20:26 +08:00

9 lines
329 B
TypeScript

import type { Options } from 'scroll-into-view-if-needed';
export type { InternalNamePath, NamePath, Store, StoreValue } from 'rc-field-form/lib/interface';
export type ScrollFocusOptions = Options & {
focus?: boolean;
};
export type ScrollOptions = ScrollFocusOptions; // alias
export type FormLabelAlign = 'left' | 'right';