(props: {text: string; onClick: VoidFunction})
| 37 | }) |
| 38 | |
| 39 | const Button = (props: {text: string; onClick: VoidFunction}) => { |
| 40 | const text = s.createMemo(() => <span>{props.text}</span>) |
| 41 | return ( |
| 42 | <button aria-label={props.text} onClick={props.onClick}> |
| 43 | {text()} |
| 44 | </button> |
| 45 | ) |
| 46 | } |
| 47 | |
| 48 | const PassChildren: s.ParentComponent = props => props.children |
| 49 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…