MCPcopy
hub / github.com/nefe/redux-in-chinese / DetailedExplanation

Function DetailedExplanation

docs/components/DetailedExplanation.jsx:3–15  ·  view source on GitHub ↗
({
  children,
  title = 'Detailed Explanation'
})

Source from the content-addressed store, hash-verified

1import React from 'react'
2
3export const DetailedExplanation = ({
4 children,
5 title = 'Detailed Explanation'
6}) => {
7 return (
8 <details className="detailed-explanation">
9 <summary>
10 <h4>{title}</h4>
11 </summary>
12 {children}
13 </details>
14 )
15}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected