Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ant-design/ant-design
/ functions
Functions
4,337 in github.com/ant-design/ant-design
⨍
Functions
4,337
◇
Types & classes
861
↓ 2 callers
Function
initComponentToken
( token: AliasToken & Partial<SharedComponentToken>, )
components/input/style/token.ts:106
↓ 2 callers
Function
initPanelComponentToken
(token: GlobalToken)
components/date-picker/style/token.ts:145
↓ 2 callers
Function
initPickerPanelToken
(token: TokenWithCommonCls<GlobalToken>)
components/date-picker/style/token.ts:125
↓ 2 callers
Function
isImageFileType
(type: string)
components/upload/utils.ts:51
↓ 2 callers
Function
isPlaceholderConfig
( placeholder: unknown, )
components/image/hooks/usePlaceholderConfig.ts:6
↓ 2 callers
Function
isPresetSize
(size?: SizeType | string | number)
components/_util/gapSize.ts:4
↓ 2 callers
Function
isPrimitive
(val: any)
components/_util/is.ts:31
↓ 2 callers
Function
isSafeWarning
(message: boolean, all = false)
tests/shared/excludeWarning.ts:3
↓ 2 callers
Function
isSameDate
(date1: T, date2: T, config: GenerateConfig<T>)
components/calendar/generateCalendar.tsx:98
↓ 2 callers
Function
isSameYear
(date1: T, date2: T, config: GenerateConfig<T>)
components/calendar/generateCalendar.tsx:88
↓ 2 callers
Function
isThenable
(val?: PromiseLike<T>)
components/_util/is.ts:27
↓ 2 callers
Function
isTooltipOpen
()
components/tooltip/__tests__/util.ts:1
↓ 2 callers
Function
isTransitionEvent
(event: Event)
components/_util/is.ts:35
↓ 2 callers
Function
isValidText
(val: any)
components/typography/Base/util.ts:50
↓ 2 callers
Function
isValidWaveColor
( color: CSSStyleDeclaration[keyof CSSStyleDeclaration], )
components/_util/wave/util.ts:3
↓ 2 callers
Function
isWindow
(obj: any)
components/_util/getScroll.ts:3
↓ 2 callers
Function
itemRender
(itemNode, itemInfo)
components/steps/index.tsx:376
↓ 2 callers
Function
mergeClassNames
( schema: SemanticSchema = {}, ...classNames: (SemanticClassNames | undefined)[] )
components/_util/hooks/useMergeSemantic/index.ts:14
↓ 2 callers
Function
monthCellRender
(value: Dayjs)
components/calendar/demo/notice-calendar.tsx:74
↓ 2 callers
Function
moveTo
(direction: TransferDirection)
components/transfer/index.tsx:334
↓ 2 callers
Function
next
()
components/steps/demo/step-next.tsx:24
↓ 2 callers
Function
normalizeIcon
( value: boolean | V | undefined, key: K, fallback?: React.ReactNode, )
components/_util/normalizeIcon.ts:1
↓ 2 callers
Function
normalizeMaskConfig
(mask?: MaskType, maskClosable?: boolean)
components/_util/hooks/useMergedMask.ts:12
↓ 2 callers
Function
onCancel
()
components/modal/demo/confirm.tsx:15
↓ 2 callers
Function
onChange
(checkedValues)
components/checkbox/demo/group.tsx:5
↓ 2 callers
Function
onChange
(link: string)
components/anchor/demo/onChange.tsx:4
↓ 2 callers
Function
onClick
()
components/transfer/Section.tsx:353
↓ 2 callers
Function
onDownload
()
components/image/demo/toolbarRender.tsx:54
↓ 2 callers
Function
onFinish
(values)
components/form/demo/basic.tsx:11
↓ 2 callers
Function
onInternalClose
(...args: any[])
components/_util/ActionButton.tsx:44
↓ 2 callers
Function
onRemove
()
components/upload/__tests__/upload.test.tsx:460
↓ 2 callers
Function
onResize
({ offsetWidth }: { offsetWidth: number })
components/typography/Base/index.tsx:328
↓ 2 callers
Function
onScroll
(direction, e)
components/transfer/demo/basic.tsx:39
↓ 2 callers
Function
onSearch
(e: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLInputElement>)
components/input/Search.tsx:142
↓ 2 callers
Function
onSelect
(selectedKeys: React.Key[], info: any)
components/tree/demo/line.tsx:76
↓ 2 callers
Function
onSelectKeys
({ selectedKeys }: { selectedKeys: string[] })
components/table/hooks/useFilter/FilterDropdown.tsx:228
↓ 2 callers
Function
onSuccess
(response: any, file: RcFile, xhr: any)
components/upload/Upload.tsx:243
↓ 2 callers
Function
onVisibleChange
()
components/input/Password.tsx:102
↓ 2 callers
Function
open
(args?: Partial<ArgsProps>)
components/notification/__tests__/placement.test.tsx:22
↓ 2 callers
Function
openPicker
(wrapper: ReturnType<typeof render>, index = 0)
components/date-picker/__tests__/utils.ts:4
↓ 2 callers
Function
openSelect
(wrapper: HTMLElement, className: string)
components/calendar/__tests__/index.test.tsx:57
↓ 2 callers
Function
prepareNotificationToken
(token)
components/notification/style/index.ts:138
↓ 2 callers
Function
prepareToken
(token: Parameters<GenStyleFn<'Form'>>[0], rootPrefixCls: string)
components/form/style/index.ts:597
↓ 2 callers
Function
prepareToken
(token: Parameters<GenStyleFn<'Pagination'>>[0])
components/pagination/style/index.ts:788
↓ 2 callers
Function
prepareToken
(token: Parameters<GenStyleFn<'Button'>>[0])
components/button/style/token.ts:286
↓ 2 callers
Function
prepareToken
(token: Parameters<GenStyleFn<'Badge'>>[0])
components/badge/style/index.ts:381
↓ 2 callers
Function
prepareToken
(token: Parameters<GenStyleFn<'Modal'>>[0])
components/modal/style/index.ts:437
↓ 2 callers
Function
publicPath
(...segments: string[])
scripts/check-agent-discovery.ts:5
↓ 2 callers
Function
range
(start: number, end: number)
components/date-picker/demo/disabled-date.tsx:13
↓ 2 callers
Function
removeFileItem
(file: UploadFile, fileList: (UploadFile | Readonly<UploadFile>)[])
components/upload/utils.ts:34
↓ 2 callers
Function
renderCloseIcon
(prefixCls: string, closeIcon?: React.ReactNode)
components/modal/shared.tsx:14
↓ 2 callers
Function
renderComponent
({ validateMessages }: { validateMessages?: any })
components/config-provider/__tests__/form.test.tsx:33
↓ 2 callers
Function
renderItem
( prefixCls: string, item: ItemType, children: React.ReactNode, href?: string, )
components/breadcrumb/useItemRender.tsx:28
↓ 2 callers
Function
renderList
(motionClassName?: string)
components/float-button/FloatButtonGroup.tsx:249
↓ 2 callers
Function
resetMockDate
()
tests/utils.tsx:18
↓ 2 callers
Function
searchValueMatched
(normalizedSearchValue: string, text: React.ReactNode)
components/table/hooks/useFilter/FilterDropdown.tsx:61
↓ 2 callers
Function
selectCell
(wrapper: ReturnType<typeof render>, text: string | number, index = 0)
components/date-picker/__tests__/utils.ts:15
↓ 2 callers
Function
setMockDate
(dateString = '2017-09-18T03:30:07.795')
tests/utils.tsx:14
↓ 2 callers
Function
sharedGenerateStyle
( token: Token, config: SharedStyleConfig<Token>, )
components/notification/style/index.ts:301
↓ 2 callers
Function
showMessage
( message: string, status?: 'succeed' | 'fail' | 'spinning' | 'non-spinnable' | 'stopped' | true, unique
scripts/pre-publish.ts:31
↓ 2 callers
Function
sortColors
(colors: { percent: number; color: string }[])
components/color-picker/components/PanelPicker/GradientColorBar.tsx:11
↓ 2 callers
Function
sortGradient
(gradients: StringGradients)
components/progress/Line.tsx:36
↓ 2 callers
Function
syncSelection
()
components/input/OTP/OTPInput.tsx:35
↓ 2 callers
Function
test
(name: string, genForm: () => any)
components/form/__tests__/index.test.tsx:403
↓ 2 callers
Function
toArr
(str: string | number | (string | number)[])
components/form/demo/form-item-path.tsx:11
↓ 2 callers
Function
toNamePathStr
(name: NamePath)
components/form/hooks/useForm.ts:24
↓ 2 callers
Function
triggerChange
(changedValue: { number?: number; currency?: Currency })
components/form/demo/customized-form-controls.tsx:22
↓ 2 callers
Function
triggerPanelChange
(date: DateType, newMode: CalendarMode)
components/calendar/generateCalendar.tsx:224
↓ 2 callers
Function
typeWarning
(valid, type, message)
components/_util/warning.ts:64
↓ 2 callers
Function
useAnimateConfig
( prefixCls: string, animated: TabsProps['animated'] = { inkBar: true, tabPane: false, }, )
components/tabs/hooks/useAnimateConfig.ts:14
↓ 2 callers
Function
useBase
( customizePrefixCls?: string, direction?: DirectionType, )
components/cascader/hooks/useBase.ts:6
↓ 2 callers
Function
useBreakpoint
( refreshOnChange = true, defaultScreens: ScreenMap | null = {} as ScreenMap, )
components/grid/hooks/useBreakpoint.tsx:11
↓ 2 callers
Function
useBubbleLock
( onOriginInputClick?: React.MouseEventHandler<HTMLInputElement>, )
components/checkbox/useBubbleLock.ts:9
↓ 2 callers
Function
useCheckable
(cascaderPrefixCls: string, multiple?: boolean)
components/cascader/hooks/useCheckable.tsx:3
↓ 2 callers
Function
useClassNames
()
components/switch/__tests__/semantic.test.tsx:35
↓ 2 callers
Function
useComponents
(components?: Components)
components/date-picker/generatePicker/useComponents.ts:6
↓ 2 callers
Function
useCopyClick
({ copyConfig, children, }: { copyConfig: CopyConfig; children?: React.ReactNode; })
components/typography/hooks/useCopyClick.ts:9
↓ 2 callers
Function
useDebounce
(value: T[])
components/form/hooks/useDebounce.ts:3
↓ 2 callers
Function
useFocusable
( focusable?: FocusableConfig, defaultTrap?: boolean, legacyFocusTriggerAfterClose?: FocusableConfig['fo
components/drawer/useFocusable.ts:10
↓ 2 callers
Function
useGutter
( gutter: RowProps['gutter'], screens: ScreenMap | null, )
components/grid/hooks/useGutter.ts:8
↓ 2 callers
Function
useIcons
({ contextExpandIcon, contextLoadingIcon, expandIcon, loadingIcon, isRtl, }: UseIconsOptions)
components/cascader/hooks/useIcons.tsx:18
↓ 2 callers
Function
useIcons
( props: Pick<PickerProps, 'allowClear' | 'removeIcon'>, prefixCls: string, )
components/date-picker/util.ts:62
↓ 2 callers
Function
useInternalMessage
( messageConfig?: HolderProps, )
components/message/useMessage.tsx:157
↓ 2 callers
Function
useInternalNotification
( notificationConfig?: HolderProps, )
components/notification/useNotification.tsx:142
↓ 2 callers
Function
useItems
( screens: ScreenMap, items?: DescriptionsItemType[], children?: React.ReactNode, )
components/descriptions/hooks/useItems.ts:16
↓ 2 callers
Function
useMergedPreviewConfig
( previewConfig: T, contextPreviewConfig: T, prefixCls: string, mergedRootClassName: string, getCont
components/image/hooks/useMergedPreviewConfig.ts:10
↓ 2 callers
Function
useMultipleSelect
(getKey: (item: T, index: number, array: T[]) => K)
components/_util/hooks/useMultipleSelect.ts:9
↓ 2 callers
Function
usePanelRef
(panelSelector?: string)
components/watermark/context.ts:16
↓ 2 callers
Function
usePreviewConfig
( preview?: boolean | T, )
components/image/hooks/usePreviewConfig.ts:19
↓ 2 callers
Function
useRemovePasswordTimeout
( inputRef: React.RefObject<InputRef | null>, triggerOnMount?: boolean, )
components/input/hooks/useRemovePasswordTimeout.ts:5
↓ 2 callers
Function
useResponsiveObserver
()
components/_util/responsiveObserver.ts:95
↓ 2 callers
Function
useSizes
(items: PanelProps[], containerSize?: number)
components/splitter/hooks/useSizes.ts:19
↓ 2 callers
Function
useStackConfig
( stackConfig: StackConfigInput, defaultStackConfig: StackConfigInput, )
components/notification/hooks/useStackConfig.ts:8
↓ 2 callers
Function
useSuffixIcon
({ picker, hasFeedback, feedbackIcon, suffixIcon }: UseSuffixIconProps)
components/date-picker/generatePicker/useSuffixIcon.tsx:15
↓ 2 callers
Function
useSyncState
(initialValue: T)
components/_util/hooks/useSyncState.ts:7
↓ 2 callers
Function
useTypographySemantic
( customizePrefixCls?: string, classNames?: TypographySemanticAllType['classNamesAndFn'] | undefined, st
components/typography/hooks/useTypographySemantic.ts:8
↓ 2 callers
Function
wrapStringListType
(keys?: FilterKey)
components/table/hooks/useFilter/FilterDropdown.tsx:151
↓ 1 callers
Function
$$
(selector: string)
components/config-provider/__tests__/locale.test.tsx:28
↓ 1 callers
Function
$$
(className: string)
components/modal/__tests__/confirm.test.tsx:129
↓ 1 callers
Function
Holder
(className: string, closeIcon?: React.ReactNode)
components/notification/__tests__/hooks.test.tsx:242
← previous
next →
301–400 of 4,337, ranked by callers