refactor: batch 4

This commit is contained in:
鲁树人
2025-05-18 09:58:34 +09:00
parent 2e4e57be45
commit 9518b813bd
15 changed files with 12109 additions and 1485 deletions

View File

@@ -1,9 +1,9 @@
import { BsCommand } from 'react-icons/bs';
import { Ruby } from '../Ruby';
export function MacCommandKey() {
export function MacCommandKey({ className }: { className?: string }) {
return (
<Ruby caption="command">
<Ruby caption="command" className={className}>
<kbd className="kbd">
<BsCommand className="text-sm" />
</kbd>

View File

@@ -1,9 +1,9 @@
import { BsShift } from 'react-icons/bs';
import { Ruby } from '../Ruby';
export function ShiftKey() {
export function ShiftKey({ className }: { className?: string }) {
return (
<Ruby caption="shift">
<Ruby caption="shift" className={className}>
<kbd className="kbd">
<BsShift className="text-sm" />
</kbd>