mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-21 10:31:10 +08:00

(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
9 lines
329 B
TypeScript
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';
|