Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
onClick={() =>
copyAndAlert(
`${basicIdentifierEscape(header)} != ${basicLiteralEscape(value)}`,
`${basicIdentifierEscape(header)} != ${basicLiteralEscape(
value,
)} copied to clipboard`,
)
}
{showFullValueMenuItem}
);
} else {
return (
<menu>
<menuitem> copyAndAlert(value, `${value} copied to clipboard`)}
/>
{!runeMode && (
<>
<menuitem>
copyAndAlert(
`${basicIdentifierEscape(header)} = ${basicLiteralEscape(value)}`,
`${basicIdentifierEscape(header)} = ${basicLiteralEscape(
value,
)} copied to clipboard`,
)
}
/>
<menuitem>
copyAndAlert(
`${basicIdentifierEscape(header)} != ${basicLiteralEscape(value)}`,
`${basicIdentifierEscape(header)} != ${basicLiteralEscape(</menuitem></menuitem></menuitem></menu>
/>
{!runeMode && (
<>
<menuitem by="" order="">
copyAndAlert(
`ORDER BY ${basicIdentifierEscape(header)} ASC`,
`ORDER BY ${basicIdentifierEscape(header)} ASC' copied to clipboard`,
)
}
/>
<menuitem by="">
copyAndAlert(
`ORDER BY ${basicIdentifierEscape(header)} DESC`,
`ORDER BY ${basicIdentifierEscape(header)} DESC' copied to clipboard`,
)
}
/>
)}
);
}
}
</menuitem></menuitem>