({children})
| 50 | const ExpandableCodeContext = createContext<ExpandableCodeContextValue>(null); |
| 51 | |
| 52 | export function ExpandableCodeProvider({children}) { |
| 53 | let [isExpanded, setExpanded] = useState(false); |
| 54 | return ( |
| 55 | <ExpandableCodeContext value={[isExpanded, setExpanded]}>{children}</ExpandableCodeContext> |
| 56 | ); |
| 57 | } |
| 58 | |
| 59 | export function ExpandableCode({ |
| 60 | children, |
nothing calls this directly
no outgoing calls
no test coverage detected