MCPcopy Create free account
hub / github.com/callstack/react-native-paper / onCopy

Function onCopy

docs/src/components/DynamicColorTheme.tsx:162–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

160 };
161
162 const onCopy = () => {
163 navigator.clipboard.writeText(getColorScheme());
164 setCopied(true);
165
166 setTimeout(() => setCopied(false), 1000);
167 };
168
169 return (
170 <div>

Callers

nothing calls this directly

Calls 1

getColorSchemeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…