Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/campvanilla/boxshadows
/ functions
Functions
62 in github.com/campvanilla/boxshadows
⨍
Functions
62
◇
Types & classes
31
↓ 8 callers
Function
track
(event: Event)
src/utils/analytics.ts:37
↓ 6 callers
Function
handleShadowUpdate
(id: number)
src/components/Controls/ShadowControls.tsx:26
↓ 6 callers
Function
isFunction
(input: unknown)
src/utils/lang.ts:1
↓ 5 callers
Function
renderChild
(child: React.ReactNode | RenderPropFunction, args?: Args)
src/utils/react.ts:8
↓ 2 callers
Function
copyToClipboard
(toCopy: string, label?: string, value?: number)
src/utils/clipboard.ts:3
↓ 1 callers
Function
activateOnClick
()
src/components/ColorInput/ColorInput.tsx:40
↓ 1 callers
Function
getCategoryForPage
()
src/utils/analytics.ts:29
↓ 1 callers
Function
removeShadow
(id: number)
src/components/Controls/ShadowControls.tsx:19
↓ 1 callers
Function
setViewportHeight
()
src/utils/dom.ts:29
↓ 1 callers
Function
trackException
(error: Error)
src/utils/error-handling/index.tsx:5
Function
About
()
src/components/About/About.tsx:9
Function
Accordian
({ children })
src/components/Accordian/Accordian.tsx:10
Function
App
()
src/index.tsx:25
Function
AppWithErrorBoundary
()
src/index.tsx:56
Function
Aside
({ headerBefore, headerAfter, children, })
src/components/Page/Aside.tsx:16
Function
Button
(props)
src/components/Button/Button.tsx:9
Function
ColorControls
()
src/components/Controls/ColorControls.tsx:7
Function
ColorInput
({ value, name, onFocus, onChange, ...rest }: ColorInputProps)
src/components/ColorInput/ColorInput.tsx:17
Function
ColorSectionIcon
()
src/components/icons.tsx:11
Function
Controls
()
src/components/Controls/Controls.tsx:9
Function
Copy
({ onClick }: { onClick?: React.MouseEventHandler<SVGSVGElement> })
src/components/icons.tsx:56
Function
Dialog
({ children, onClose, open, ...rest })
src/components/Dialog/Dialog.tsx:5
Function
Edit
({ onClick }: { onClick?: React.MouseEventHandler<SVGSVGElement> })
src/components/icons.tsx:47
Function
Editor
()
src/views/Editor/Editor.tsx:15
Function
ElementControls
()
src/components/Controls/ElementControls.tsx:7
Function
ElementSectionIcon
()
src/components/icons.tsx:3
Function
ErrorPage
()
src/utils/error-handling/index.tsx:19
Function
Github
({ ...rest })
src/components/icons.tsx:87
Function
Item
({ heading, children, defaultOpen })
src/components/Accordian/Accordian.tsx:16
Function
List
(props: React.SVGProps<SVGSVGElement>)
src/components/icons.tsx:113
Function
Logo
({ tag, hideText, }: LogoProps)
src/components/Logo.tsx:45
Function
PlayArea
()
src/components/PlayArea/PlayArea.tsx:6
Function
Preset
({ preset })
src/components/Preset/Preset.tsx:24
Function
PresetGrid
()
src/views/Presets/Presets.tsx:10
Function
ShadowControls
()
src/components/Controls/ShadowControls.tsx:10
Function
ShadowSectionIcon
()
src/components/icons.tsx:22
Function
Share
({ onClick }: { onClick?: React.MouseEventHandler<SVGSVGElement> })
src/components/icons.tsx:68
Function
Slider
({ onClick }: { onClick?: React.MouseEventHandler<SVGSVGElement> })
src/components/icons.tsx:79
Function
SnackBarProvider
({ children })
src/contexts/Snackbar.tsx:13
Function
Snackbar
()
src/components/Snackbar/Snackbar.tsx:7
Function
StoreProvider
({ children })
src/contexts/Store.tsx:55
Function
Switch
(props)
src/components/Switch/Switch.tsx:7
Function
Tabs
({ triggers })
src/components/Navigation/Tabs.tsx:29
Function
TrashIcon
({ onClick }: { onClick: React.MouseEventHandler<SVGSVGElement> })
src/components/icons.tsx:36
Function
Twitter
({ ...rest })
src/components/icons.tsx:100
Function
addClass
(element: HTMLElement, className: string)
src/utils/dom.ts:14
Function
addShadow
()
src/components/Controls/ShadowControls.tsx:13
Method
componentDidCatch
(error: Error)
src/utils/error-handling/index.tsx:40
Function
edit
()
src/components/Preset/Preset.tsx:31
Method
getDerivedStateFromError
()
src/utils/error-handling/index.tsx:36
Function
handleCopy
()
src/components/Preset/Preset.tsx:46
Function
handleCopy
()
src/views/Editor/Editor.tsx:28
Function
handleElementUpdate
(e: React.ChangeEvent<HTMLInputElement>)
src/components/Controls/ElementControls.tsx:10
Function
handleElementUpdate
(e: React.ChangeEvent<HTMLInputElement> | ColorChangeEvent)
src/components/Controls/ColorControls.tsx:10
Function
onBlur
(e: React.FocusEvent<HTMLInputElement>)
src/components/TextInput/TextInput.tsx:36
Function
onFocus
(e: React.FocusEvent<HTMLInputElement>)
src/components/TextInput/TextInput.tsx:31
Function
onPickerChange
(color)
src/components/ColorInput/ColorInput.tsx:45
Function
reducer
(state: typeof initialState, action: Action)
src/contexts/Store.tsx:56
Function
removeClass
(element: HTMLElement, className: string)
src/utils/dom.ts:4
Method
render
()
src/utils/error-handling/index.tsx:44
Function
setWindowCustomProperties
()
src/utils/dom.ts:28
Function
trackClickExternalLink
(e: React.MouseEvent<HTMLAnchorElement>)
src/utils/analytics.ts:58