Skip to content

Commit ee5afa8

Browse files
📚 Support to use in React
1 parent 6534235 commit ee5afa8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,10 @@ This package contains the global type files for React.
133133
- `React.CodeBlockHTMLAttributes`
134134
- `code-block` in `JSX.IntrinsicElements`
135135

136+
\* CSS needs to be loaded separately.
137+
136138
```tsx
139+
// CodeBlock.tsx
137140
import React, {CodeBlockHTMLAttributes} from 'react';
138141
import '@heppokofrontend/html-code-block-element';
139142

0 commit comments

Comments
 (0)