mirror of
https://git.um-react.app/um/um-react.git
synced 2026-11-27 23:56:59 +00:00
refactor: batch 3
This commit is contained in:
1 parent
75b43e1e84
commit
2e4e57be45
52 files changed
+933
-1136
No files matched your search
@@ -1,9 +1,3 @@
|
||||
import { Mark } from '@chakra-ui/react';
|
||||
|
||||
export function HiWord({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<Mark bg="orange.100" borderRadius={5} px={2} mx={1}>
|
||||
{children}
|
||||
</Mark>
|
||||
);
|
||||
export function HiWord({ className = '', children }: { className?: string; children: React.ReactNode }) {
|
||||
return <mark className={`bg-orange-100 rounded-md px-2 mx-1 ${className}`}>{children}</mark>;
|
||||
}
|
||||
Reference in new issue
Block a user