MCPcopy Create free account

hub / github.com/ant-design/ant-design / functions

Functions4,448 in github.com/ant-design/ant-design

↓ 2 callersFunctiongetReactVersion
()
components/_util/getReactVersionCanDelMe.ts:5
↓ 2 callersFunctiongetRootPrefixCls
()
components/modal/confirm.tsx:15
↓ 2 callersFunctiongetRoundNumber
(value: number)
components/color-picker/util.ts:16
↓ 2 callersFunctiongetScrollProgress
(target: ScrollTarget | null)
components/float-button/hooks/useScroll.ts:15
↓ 2 callersFunctiongetShadowStyle
({ colorSplit: shadowColor, }: Pick<TableToken, 'colorSplit'>)
components/table/style/fixed.ts:6
↓ 2 callersFunctiongetSortData
( data: readonly RecordType[], sortStates: SortState<RecordType>[], childrenColumnName: string, )
components/table/hooks/useSorter.tsx:326
↓ 2 callersFunctiongetStackShadowClipOffset
(token: NotificationToken)
components/notification/style/placement.ts:93
↓ 2 callersFunctiongetStatus
( errors: React.ReactNode[], warnings: React.ReactNode[], meta: Meta, defaultValidateStatus: ValidateS
components/form/util.ts:39
↓ 2 callersFunctiongetTarget
()
components/affix/__tests__/Affix.test.tsx:137
↓ 2 callersFunctiongetTargetRect
(target: BindElement)
components/affix/utils.ts:3
↓ 2 callersFunctiongetTargetWaveColor
( node: HTMLElement, colorSource: keyof CSSStyleDeclaration | null = null, )
components/_util/wave/util.ts:22
↓ 2 callersFunctiongetTransBg
(size: string, colorFill: string)
components/color-picker/style/color-block.ts:10
↓ 2 callersFunctiongetTreeData
({ treeData, children }: DirectoryTreeProps)
components/tree/DirectoryTree.tsx:40
↓ 2 callersFunctiongetYearMonth
(date: Dayjs)
components/date-picker/demo/select-in-range.tsx:8
↓ 2 callersFunctionhandleGradient
( strokeColor: ProgressGradient, directionConfig?: DirectionType, )
components/progress/Line.tsx:62
↓ 2 callersFunctionhandleScroll
(direction, e)
components/transfer/demo/oneWay.tsx:44
↓ 2 callersFunctionhandleSetCollapsed
(value: boolean, type: CollapseType)
components/layout/Sider.tsx:103
↓ 2 callersFunctioninitComponentToken
( token: AliasToken & Partial<SharedComponentToken>, )
components/input/style/token.ts:106
↓ 2 callersFunctioninitPanelComponentToken
(token: GlobalToken)
components/date-picker/style/token.ts:145
↓ 2 callersFunctioninitPickerPanelToken
(token: TokenWithCommonCls<GlobalToken>)
components/date-picker/style/token.ts:125
↓ 2 callersFunctionisImageFileType
(type: string)
components/upload/utils.ts:50
↓ 2 callersFunctionisPlaceholderConfig
( placeholder: unknown, )
components/image/hooks/usePlaceholderConfig.ts:6
↓ 2 callersFunctionisPresetSize
(size?: SizeType | string | number)
components/_util/gapSize.ts:4
↓ 2 callersFunctionisPrimitive
(val: any)
components/_util/is.ts:25
↓ 2 callersFunctionisSameDate
(date1: T, date2: T, config: GenerateConfig<T>)
components/calendar/generateCalendar.tsx:102
↓ 2 callersFunctionisSameYear
(date1: T, date2: T, config: GenerateConfig<T>)
components/calendar/generateCalendar.tsx:92
↓ 2 callersFunctionisThenable
(val?: PromiseLike<T>)
components/_util/is.ts:21
↓ 2 callersFunctionisTooltipOpen
()
components/tooltip/__tests__/util.ts:1
↓ 2 callersFunctionisTransitionEvent
(event: Event)
components/_util/is.ts:29
↓ 2 callersFunctionisValidText
(val: any)
components/typography/Base/util.ts:50
↓ 2 callersFunctionisValidWaveColor
( color: CSSStyleDeclaration[keyof CSSStyleDeclaration], )
components/_util/wave/util.ts:3
↓ 2 callersFunctionitemRender
(itemNode, itemInfo)
components/steps/index.tsx:385
↓ 2 callersFunctionmakePage
(offset: number)
components/listy/demo/infinite.tsx:11
↓ 2 callersFunctionmakeVerticalLayoutLabelBase
(token)
components/form/style/index.ts:411
↓ 2 callersFunctionmergeStyles
( ...styles: (Partial<StylesType> | undefined)[] )
components/_util/hooks/useMergeSemantic/index.ts:57
↓ 2 callersFunctionmonthCellRender
(value: Dayjs)
components/calendar/demo/notice-calendar.tsx:74
↓ 2 callersFunctionmove
(from: Element, to: Element)
components/radio/__tests__/radio.test.tsx:94
↓ 2 callersFunctionmoveTo
(direction: TransferDirection)
components/transfer/index.tsx:336
↓ 2 callersFunctionnext
()
components/steps/demo/step-next.tsx:24
↓ 2 callersFunctionnormalizeIcon
( value?: boolean | V, key?: K, fallback?: React.ReactNode, )
components/_util/normalizeIcon.ts:1
↓ 2 callersFunctionnormalizeMaskConfig
(mask?: MaskType, maskClosable?: boolean)
components/_util/hooks/useMergedMask.ts:12
↓ 2 callersFunctiononCancel
(e: React.MouseEvent<HTMLButtonElement>)
components/popconfirm/index.tsx:116
↓ 2 callersFunctiononChange
(checkedValues)
components/checkbox/demo/group.tsx:5
↓ 2 callersFunctiononChange
(link: string)
components/anchor/demo/onChange.tsx:4
↓ 2 callersFunctiononChange
(pageNumber)
components/pagination/demo/jump.tsx:5
↓ 2 callersFunctiononClose
(e: React.MouseEvent<HTMLElement>)
components/tag/__tests__/index.test.tsx:56
↓ 2 callersFunctiononCompositionEnd
()
components/typography/Editable.tsx:79
↓ 2 callersFunctiononCompositionStart
()
components/typography/Editable.tsx:75
↓ 2 callersFunctiononDownload
()
components/image/demo/toolbarRender.tsx:54
↓ 2 callersFunctiononExpand
(newExpandedKeys: React.Key[])
components/tree/demo/search.tsx:70
↓ 2 callersFunctiononFinish
(values)
components/form/demo/basic.tsx:11
↓ 2 callersFunctiononInternalClose
(...args: any[])
components/_util/ActionButton.tsx:45
↓ 2 callersFunctiononMouseDown
(e)
components/input/Search.tsx:153
↓ 2 callersFunctiononOk
()
components/modal/demo/confirm.tsx:12
↓ 2 callersFunctiononRemove
()
components/upload/__tests__/upload.test.tsx:500
↓ 2 callersFunctiononResize
({ offsetWidth }: { offsetWidth: number })
components/typography/Base/index.tsx:357
↓ 2 callersFunctiononScroll
(direction, e)
components/transfer/demo/basic.tsx:39
↓ 2 callersFunctiononSearch
(e: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLInputElement>)
components/input/Search.tsx:159
↓ 2 callersFunctiononSelect
(selectedKeys: React.Key[], info: any)
components/tree/demo/line.tsx:76
↓ 2 callersFunctiononSelectChange
( sourceSelectedKeys, targetSelectedKeys, )
components/transfer/__tests__/index.test.tsx:1207
↓ 2 callersFunctiononSelectKeys
({ selectedKeys }: { selectedKeys: string[] })
components/table/hooks/useFilter/FilterDropdown.tsx:228
↓ 2 callersFunctiononSizeChange
(cur: number, size: number)
components/transfer/ListBody.tsx:91
↓ 2 callersFunctiononSuccess
(response: any, file: RcFile, xhr: any)
components/upload/Upload.tsx:246
↓ 2 callersFunctiononVisibleChange
()
components/input/Password.tsx:112
↓ 2 callersFunctionopen
(args?: Partial<ArgsProps>)
components/notification/__tests__/placement.test.tsx:22
↓ 2 callersFunctionopenPicker
(wrapper: ReturnType<typeof render>, index = 0)
components/date-picker/__tests__/utils.ts:4
↓ 2 callersFunctionopenSelect
(wrapper: HTMLElement, className: string)
components/calendar/__tests__/index.test.tsx:57
↓ 2 callersFunctionprepareNotificationToken
(token)
components/notification/style/index.ts:141
↓ 2 callersFunctionprepareToken
(token: Parameters<GenStyleFn<'Pagination'>>[0])
components/pagination/style/index.ts:795
↓ 2 callersFunctionprepareToken
(token: Parameters<GenStyleFn<'Button'>>[0])
components/button/style/token.ts:286
↓ 2 callersFunctionprepareToken
(token: Parameters<GenStyleFn<'Badge'>>[0])
components/badge/style/index.ts:372
↓ 2 callersFunctionprepareToken
(token: Parameters<GenStyleFn<'Modal'>>[0])
components/modal/style/index.ts:433
↓ 2 callersFunctionpublicPath
(...segments: string[])
scripts/check-agent-discovery.ts:5
↓ 2 callersFunctionrange
(start: number, end: number)
components/date-picker/demo/disabled-date.tsx:13
↓ 2 callersFunctionremoveFileItem
(file: UploadFile, fileList: (UploadFile | Readonly<UploadFile>)[])
components/upload/utils.ts:34
↓ 2 callersFunctionrenderCloseIcon
(prefixCls: string, closeIcon?: React.ReactNode)
components/modal/shared.tsx:16
↓ 2 callersFunctionrenderItem
( prefixCls: string, item: ItemType, children: React.ReactNode, href?: string, )
components/breadcrumb/useItemRender.tsx:28
↓ 2 callersFunctionrenderList
(motionClassName?: string)
components/float-button/FloatButtonGroup.tsx:263
↓ 2 callersFunctionresetMockDate
()
tests/utils.tsx:18
↓ 2 callersFunctionscheduleRender
(props: ConfirmDialogProps)
components/modal/confirm.tsx:103
↓ 2 callersFunctionscroll
(top: number)
components/_util/scrollTo.ts:21
↓ 2 callersFunctionsearchValueMatched
(normalizedSearchValue: string, text: React.ReactNode)
components/table/hooks/useFilter/FilterDropdown.tsx:61
↓ 2 callersFunctionselectCell
(wrapper: ReturnType<typeof render>, text: string | number, index = 0)
components/date-picker/__tests__/utils.ts:15
↓ 2 callersFunctionsetMockDate
(dateString = '2017-09-18T03:30:07.795')
tests/utils.tsx:14
↓ 2 callersFunctionsharedGenerateStyle
( token: Token, config: SharedStyleConfig<Token>, )
components/notification/style/index.ts:303
↓ 2 callersFunctionshowMessage
( message: string, status?: 'succeed' | 'fail' | 'spinning' | 'non-spinnable' | 'stopped' | true, unique
scripts/pre-publish.ts:31
↓ 2 callersFunctionsortColors
(colors: { percent: number; color: string }[])
components/color-picker/components/PanelPicker/GradientColorBar.tsx:11
↓ 2 callersFunctionsortGradient
(gradients: StringGradients)
components/progress/Line.tsx:37
↓ 2 callersFunctionsyncSelection
()
components/input/OTP/OTPInput.tsx:88
↓ 2 callersFunctiontest
(name: string, genForm: () => any)
components/form/__tests__/index.test.tsx:434
↓ 2 callersFunctiontoArr
(str: string | number | (string | number)[])
components/form/demo/form-item-path.tsx:11
↓ 2 callersFunctiontoNamePathStr
(name: NamePath)
components/form/hooks/useForm.ts:24
↓ 2 callersFunctiontriggerChange
(changedValue: { number?: number; currency?: Currency })
components/form/demo/customized-form-controls.tsx:22
↓ 2 callersFunctiontriggerPanelChange
(date: DateType, newMode: CalendarMode)
components/calendar/generateCalendar.tsx:234
↓ 2 callersFunctiontypeWarning
(valid, type, message)
components/_util/warning.ts:64
↓ 2 callersFunctionuseAnimateConfig
( prefixCls: string, animated: TabsProps['animated'] = { inkBar: true, tabPane: false, }, )
components/tabs/hooks/useAnimateConfig.ts:14
↓ 2 callersFunctionuseBase
( customizePrefixCls?: string, direction?: DirectionType, )
components/cascader/hooks/useBase.ts:6
↓ 2 callersFunctionuseBubbleLock
( onOriginInputClick?: React.MouseEventHandler<HTMLInputElement>, )
components/checkbox/useBubbleLock.ts:9
↓ 2 callersFunctionuseCheckable
(cascaderPrefixCls: string, multiple?: boolean)
components/cascader/hooks/useCheckable.tsx:3
↓ 2 callersFunctionuseClassNames
()
components/switch/__tests__/semantic.test.tsx:35
← previousnext →301–400 of 4,448, ranked by callers