(props: { expanded: boolean })
| 61 | } |
| 62 | |
| 63 | const Expander = (props: { expanded: boolean }) => { |
| 64 | return ( |
| 65 | <span |
| 66 | class={`tsqd-style-explorer-expander ${props.expanded ? 'tsqd-style-explorer-expander-expanded' : ''}`} |
| 67 | > |
| 68 | <svg |
| 69 | width="16" |
| 70 | height="16" |
| 71 | viewBox="0 0 16 16" |
| 72 | fill="none" |
| 73 | xmlns="http://www.w3.org/2000/svg" |
| 74 | > |
| 75 | <path |
| 76 | d="M6 12L10 8L6 4" |
| 77 | stroke-width="2" |
| 78 | stroke-linecap="round" |
| 79 | stroke-linejoin="round" |
| 80 | /> |
| 81 | </svg> |
| 82 | </span> |
| 83 | ) |
| 84 | } |
| 85 | |
| 86 | type CopyState = 'NoCopy' | 'SuccessCopy' | 'ErrorCopy' |
| 87 | const CopyButton = (props: { value: unknown }) => { |
nothing calls this directly
no outgoing calls
no test coverage detected