All checks were successful
continuous-integration/drone/push Build is passing
Make it possible to create token authorized to query predetermined set of routes. Reviewed-on: #9 Co-authored-by: Pierre HUBERT <pierre.git@communiquons.org> Co-committed-by: Pierre HUBERT <pierre.git@communiquons.org>
19 lines
410 B
TypeScript
19 lines
410 B
TypeScript
export function InlineCode(p: React.PropsWithChildren): React.ReactElement {
|
|
return (
|
|
<code
|
|
style={{
|
|
display: "inline-block",
|
|
backgroundColor: "black",
|
|
color: "white",
|
|
wordBreak: "break-all",
|
|
wordWrap: "break-word",
|
|
whiteSpace: "pre-wrap",
|
|
padding: "0px 7px",
|
|
borderRadius: "5px",
|
|
}}
|
|
>
|
|
{p.children}
|
|
</code>
|
|
);
|
|
}
|