mirror of
https://git.um-react.app/um/um-react.git
synced 2025-11-28 03:23:02 +00:00
feat: integrate FAQ to webapp
This commit is contained in:
13
src/components/HelpText/VQuote.tsx
Normal file
13
src/components/HelpText/VQuote.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { chakra, css } from '@chakra-ui/react';
|
||||
|
||||
const cssUnselectable = css({ pointerEvents: 'none', userSelect: 'none' });
|
||||
|
||||
export function VQuote({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<>
|
||||
<chakra.span css={cssUnselectable}>「</chakra.span>
|
||||
{children}
|
||||
<chakra.span css={cssUnselectable}>」</chakra.span>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user