doc: Update react.md cheatsheet. a723b97df5

This commit is contained in:
jaywcjlove
2022-10-05 06:47:35 +00:00
parent 0199aac757
commit ce6a2200e3
24 changed files with 4436 additions and 4405 deletions

View File

@ -763,6 +763,19 @@ body:not(.home) .h2wrap > h2 a::after {
.token.italic { font-style: italic; }
.token.entity { cursor: help; }
.highlight-line {
background-color: var(--color-neutral-muted);
display: block;
}
.code-line.line-number::before {
display: inline-block;
width: 1rem;
text-align: right;
margin-right: 16px;
margin-left: -8px;
color: var(--color-fg-subtle);
content: attr(line);
}
/* 代码高亮 End */
.footer-wrap {