Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mobilecn-UI/nativecn-ui
/ functions
Functions
54 in github.com/Mobilecn-UI/nativecn-ui
⨍
Functions
54
◇
Types & classes
21
↓ 36 callers
Function
cn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 2 callers
Function
handleError
(error: unknown)
packages/cli/src/utils/handle-error.ts:4
↓ 2 callers
Function
useDialog
()
components/Dialog.tsx:65
↓ 2 callers
Function
useDropdown
()
components/DropDown.tsx:86
↓ 1 callers
Function
convertToOptions
( data?: T[], labelKey?: keyof T, valueKey?: keyof T )
components/Select.tsx:25
↓ 1 callers
Function
fetchComponents
(components: string[])
packages/cli/src/utils/registry.ts:20
↓ 1 callers
Function
getPackageManager
( targetDir: string )
packages/cli/src/utils/get-package-manager.ts:4
↓ 1 callers
Function
handleSelect
(value: string | number)
components/Select.tsx:77
↓ 1 callers
Function
main
()
packages/cli/src/index.ts:7
↓ 1 callers
Function
runInit
(cwd: string)
packages/cli/src/commands/init.ts:52
↓ 1 callers
Function
toast
( message: string, variant: ToastVariant = 'default', duration: number = 3000, position: 'top'
components/Toast.tsx:120
↓ 1 callers
Function
useToast
()
components/Toast.tsx:169
Function
App
()
App.tsx:41
Function
Badge
({ label, labelClasses, className, variant, ...props }: BadgeProps)
components/Badge.tsx:43
Function
Button
({ label, labelClasses, className, variant, size, ...props }: ButtonProps)
components/Button.tsx:57
Function
Card
({ className, ...props }: React.ComponentPropsWithoutRef<typeof View>)
components/Card.tsx:5
Function
CardContent
({ className, ...props }: React.ComponentPropsWithoutRef<typeof View>)
components/Card.tsx:51
Function
CardDescription
({ className, ...props }: React.ComponentPropsWithoutRef<typeof Text>)
components/Card.tsx:39
Function
CardFooter
({ className, ...props }: React.ComponentPropsWithoutRef<typeof View>)
components/Card.tsx:59
Function
CardHeader
({ className, ...props }: React.ComponentPropsWithoutRef<typeof View>)
components/Card.tsx:17
Function
CardTitle
({ className, ...props }: React.ComponentPropsWithoutRef<typeof Text>)
components/Card.tsx:24
Function
Checkbox
({ label, labelClasses, checkboxClasses, className, ...props }: CheckboxProps)
components/Checkbox.tsx:12
Function
Dialog
({ children }: { children: React.ReactNode })
components/Dialog.tsx:13
Function
DialogContent
({ className, children, }: { className?: string; children: React.ReactNode; })
components/Dialog.tsx:29
Function
DialogTrigger
({ children }: any)
components/Dialog.tsx:23
Function
DropDown
({ children }: { children: React.ReactNode })
components/DropDown.tsx:21
Function
DropDownContent
({ className, children }: DropDownContentTypes)
components/DropDown.tsx:42
Function
DropDownItem
({ children, className }: DropDownItemProps)
components/DropDown.tsx:75
Function
DropDownItemSeparator
()
components/DropDown.tsx:83
Function
DropDownLabel
({ labelTitle }: DropDownLabelProps)
components/DropDown.tsx:64
Function
DropDownTrigger
({ children }: any)
components/DropDown.tsx:30
Function
ExampleToast
()
App.tsx:287
Function
Progress
({ className, ...props }: { className?: string; value: number } & React.ComponentPropsWithoutRef< typeof
components/Progress.tsx:6
Function
RadioGroup
({ defaultValue, children }: RadioGroupProps)
components/RadioGroup.tsx:20
Function
RadioGroupItem
({ value, className, label, labelClasses, ...props }: RadioGroupItemProps)
components/RadioGroup.tsx:36
Function
RadioGroupLabel
({ value, className, ...props }: RadioGroupLabelProps)
components/RadioGroup.tsx:74
Function
Select
({ label, labelClasses, selectClasses, options, onSelect, selectedValue, placeholder = 'Select a
components/Select.tsx:59
Function
SimpleCard
({ className, title, description, content, footer, }: SimpleCardProps)
components/Card.tsx:78
Function
Skeleton
({ className, ...props }: { className?: string } & React.ComponentPropsWithoutRef<typeof View>)
components/Skeleton.tsx:6
Function
Switch
({ ...props }: React.ComponentPropsWithoutRef<typeof NativeSwitch>)
components/Switch.tsx:5
Function
Tabs
({ defaultValue, children }: TabsProps)
components/Tabs.tsx:19
Function
TabsContent
({ value, className, ...props }: TabsContentProps)
components/Tabs.tsx:81
Function
TabsList
({ className, ...props }: React.ComponentPropsWithoutRef<typeof View>)
components/Tabs.tsx:29
Function
TabsTrigger
({ value, title, className, textClasses, ...props }: TabsTriggerProps)
components/Tabs.tsx:47
Function
Toast
({ id, message, onHide, variant = 'default', duration = 3000, showProgress = true, }: ToastProps)
components/Toast.tsx:21
Function
ToastProvider
({ children, position = 'top', }: { children: React.ReactNode; position?: 'top' | 'bottom'; })
components/Toast.tsx:111
Function
break
()
packages/cli/src/utils/logger.ts:17
Function
error
(...args: unknown[])
packages/cli/src/utils/logger.ts:5
Function
info
(...args: unknown[])
packages/cli/src/utils/logger.ts:11
Function
openDropdown
()
components/Select.tsx:82
Function
removeToast
(id: number)
components/Toast.tsx:140
Function
success
(...args: unknown[])
packages/cli/src/utils/logger.ts:14
Function
toggleCheckbox
()
components/Checkbox.tsx:21
Function
warn
(...args: unknown[])
packages/cli/src/utils/logger.ts:8