Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeByRahulSaini/react-native-painting-app
/ functions
Functions
18 in github.com/CodeByRahulSaini/react-native-painting-app
⨍
Functions
18
◇
Types & classes
9
↓ 4 callers
Function
useTheme
()
src/theme/index.tsx:6
↓ 1 callers
Function
createShape
(x: number, y: number)
src/hooks/useCanvas.tsx:22
↓ 1 callers
Function
getShape
()
src/components/Shape.tsx:13
↓ 1 callers
Function
setStrokeWidth
(width: number)
src/Header.tsx:23
↓ 1 callers
Function
useCanvas
({ paintStyle, tool }: { paintStyle: IPaintStyle; tool: string })
src/hooks/useCanvas.tsx:12
↓ 1 callers
Function
useToolbar
()
src/hooks/useToolbar.tsx:5
Function
App
()
src/index.tsx:12
Function
ColorPickerComponent
({ onSelectColor, show, onClose, selectedColor, }: IColorPickerProps)
src/components/ColorPicker.tsx:20
Function
Footer
({ onClear, setTool, tool, undo, redo }: IFooterProps)
src/Footer.tsx:23
Function
Header
({ setPaintStyle, paintStyle }: IHeader)
src/Header.tsx:14
Function
MainApp
()
App.tsx:6
Function
RoundButton
({ onPress, active, label, style }: IRoundButtonProps)
src/components/RoundButton.tsx:11
Function
Shape
({ tool, coordinates, color, strokeWidth }: IShapeProps)
src/components/Shape.tsx:12
Function
ThemeProvider
({ children }: { children: React.ReactNode })
src/theme/ThemeProvider.tsx:7
Function
onClear
()
src/hooks/useCanvas.tsx:127
Function
onSelectColor
({ hex }: { hex: string })
src/Header.tsx:18
Function
redo
()
src/hooks/useCanvas.tsx:141
Function
undo
()
src/hooks/useCanvas.tsx:133