(
text: string,
{
indent = 1,
listRestart,
listRestartPolite,
listStart,
listStyleType = 'decimal',
}: {
indent?: number;
listRestart?: number;
listRestartPolite?: number;
listStart?: number;
listStyleType?: string;
} = {}
)
| 68 | }); |
| 69 | |
| 70 | const createItem = ( |
| 71 | text: string, |
| 72 | { |
| 73 | indent = 1, |
| 74 | listRestart, |
| 75 | listRestartPolite, |
| 76 | listStart, |
| 77 | listStyleType = 'decimal', |
| 78 | }: { |
| 79 | indent?: number; |
| 80 | listRestart?: number; |
| 81 | listRestartPolite?: number; |
| 82 | listStart?: number; |
| 83 | listStyleType?: string; |
| 84 | } = {} |
| 85 | ) => ( |
| 86 | <hp |
| 87 | indent={indent} |
| 88 | listRestart={listRestart} |
| 89 | listRestartPolite={listRestartPolite} |
| 90 | listStart={listStart} |
| 91 | listStyleType={listStyleType} |
| 92 | > |
| 93 | {text} |
| 94 | </hp> |
| 95 | ); |
| 96 | |
| 97 | const createHeadingItem = ( |
| 98 | text: string, |
no outgoing calls
no test coverage detected
searching dependent graphs…