MCPcopy Create free account
hub / github.com/HKUDS/Paper2Slides / handleCustomStyleChange

Function handleCustomStyleChange

frontend/src/components/ConfigPanel.jsx:58–64  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

56 }
57
58 const handleCustomStyleChange = (e) => {
59 const value = e.target.value
60 setCustomStyle(value)
61 if (value.trim()) {
62 setStyle(value.trim())
63 }
64 }
65
66 // Segmented control component
67 const SegmentedControl = ({ label, options, value, onChange }) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected