MCPcopy Create free account

hub / github.com/Mobilecn-UI/nativecn-ui / functions

Functions54 in github.com/Mobilecn-UI/nativecn-ui

↓ 36 callersFunctioncn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 2 callersFunctionhandleError
(error: unknown)
packages/cli/src/utils/handle-error.ts:4
↓ 2 callersFunctionuseDialog
()
components/Dialog.tsx:65
↓ 2 callersFunctionuseDropdown
()
components/DropDown.tsx:86
↓ 1 callersFunctionconvertToOptions
( data?: T[], labelKey?: keyof T, valueKey?: keyof T )
components/Select.tsx:25
↓ 1 callersFunctionfetchComponents
(components: string[])
packages/cli/src/utils/registry.ts:20
↓ 1 callersFunctiongetPackageManager
( targetDir: string )
packages/cli/src/utils/get-package-manager.ts:4
↓ 1 callersFunctionhandleSelect
(value: string | number)
components/Select.tsx:77
↓ 1 callersFunctionmain
()
packages/cli/src/index.ts:7
↓ 1 callersFunctionrunInit
(cwd: string)
packages/cli/src/commands/init.ts:52
↓ 1 callersFunctiontoast
( message: string, variant: ToastVariant = 'default', duration: number = 3000, position: 'top'
components/Toast.tsx:120
↓ 1 callersFunctionuseToast
()
components/Toast.tsx:169
FunctionApp
()
App.tsx:41
FunctionBadge
({ label, labelClasses, className, variant, ...props }: BadgeProps)
components/Badge.tsx:43
FunctionButton
({ label, labelClasses, className, variant, size, ...props }: ButtonProps)
components/Button.tsx:57
FunctionCard
({ className, ...props }: React.ComponentPropsWithoutRef<typeof View>)
components/Card.tsx:5
FunctionCardContent
({ className, ...props }: React.ComponentPropsWithoutRef<typeof View>)
components/Card.tsx:51
FunctionCardDescription
({ className, ...props }: React.ComponentPropsWithoutRef<typeof Text>)
components/Card.tsx:39
FunctionCardFooter
({ className, ...props }: React.ComponentPropsWithoutRef<typeof View>)
components/Card.tsx:59
FunctionCardHeader
({ className, ...props }: React.ComponentPropsWithoutRef<typeof View>)
components/Card.tsx:17
FunctionCardTitle
({ className, ...props }: React.ComponentPropsWithoutRef<typeof Text>)
components/Card.tsx:24
FunctionCheckbox
({ label, labelClasses, checkboxClasses, className, ...props }: CheckboxProps)
components/Checkbox.tsx:12
FunctionDialog
({ children }: { children: React.ReactNode })
components/Dialog.tsx:13
FunctionDialogContent
({ className, children, }: { className?: string; children: React.ReactNode; })
components/Dialog.tsx:29
FunctionDialogTrigger
({ children }: any)
components/Dialog.tsx:23
FunctionDropDown
({ children }: { children: React.ReactNode })
components/DropDown.tsx:21
FunctionDropDownContent
({ className, children }: DropDownContentTypes)
components/DropDown.tsx:42
FunctionDropDownItem
({ children, className }: DropDownItemProps)
components/DropDown.tsx:75
FunctionDropDownItemSeparator
()
components/DropDown.tsx:83
FunctionDropDownLabel
({ labelTitle }: DropDownLabelProps)
components/DropDown.tsx:64
FunctionDropDownTrigger
({ children }: any)
components/DropDown.tsx:30
FunctionExampleToast
()
App.tsx:287
FunctionProgress
({ className, ...props }: { className?: string; value: number } & React.ComponentPropsWithoutRef< typeof
components/Progress.tsx:6
FunctionRadioGroup
({ defaultValue, children }: RadioGroupProps)
components/RadioGroup.tsx:20
FunctionRadioGroupItem
({ value, className, label, labelClasses, ...props }: RadioGroupItemProps)
components/RadioGroup.tsx:36
FunctionRadioGroupLabel
({ value, className, ...props }: RadioGroupLabelProps)
components/RadioGroup.tsx:74
FunctionSelect
({ label, labelClasses, selectClasses, options, onSelect, selectedValue, placeholder = 'Select a
components/Select.tsx:59
FunctionSimpleCard
({ className, title, description, content, footer, }: SimpleCardProps)
components/Card.tsx:78
FunctionSkeleton
({ className, ...props }: { className?: string } & React.ComponentPropsWithoutRef<typeof View>)
components/Skeleton.tsx:6
FunctionSwitch
({ ...props }: React.ComponentPropsWithoutRef<typeof NativeSwitch>)
components/Switch.tsx:5
FunctionTabs
({ defaultValue, children }: TabsProps)
components/Tabs.tsx:19
FunctionTabsContent
({ value, className, ...props }: TabsContentProps)
components/Tabs.tsx:81
FunctionTabsList
({ className, ...props }: React.ComponentPropsWithoutRef<typeof View>)
components/Tabs.tsx:29
FunctionTabsTrigger
({ value, title, className, textClasses, ...props }: TabsTriggerProps)
components/Tabs.tsx:47
FunctionToast
({ id, message, onHide, variant = 'default', duration = 3000, showProgress = true, }: ToastProps)
components/Toast.tsx:21
FunctionToastProvider
({ children, position = 'top', }: { children: React.ReactNode; position?: 'top' | 'bottom'; })
components/Toast.tsx:111
Functionbreak
()
packages/cli/src/utils/logger.ts:17
Functionerror
(...args: unknown[])
packages/cli/src/utils/logger.ts:5
Functioninfo
(...args: unknown[])
packages/cli/src/utils/logger.ts:11
FunctionopenDropdown
()
components/Select.tsx:82
FunctionremoveToast
(id: number)
components/Toast.tsx:140
Functionsuccess
(...args: unknown[])
packages/cli/src/utils/logger.ts:14
FunctiontoggleCheckbox
()
components/Checkbox.tsx:21
Functionwarn
(...args: unknown[])
packages/cli/src/utils/logger.ts:8