Skip to content
This repository has been archived by the owner on Feb 8, 2025. It is now read-only.

poikr/react-code_block

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@team.poi/code_block

Code Block

Installation

NPM

npm install @team.poi/code_block

Yarn

yarn add @team.poi/code_block

Usage

import { CodeBlock } from "@team.poi/code_block";
export default function Home() {
  return (
    <CodeBlock
      code={
        '#include <bits/stdc++.h>\nusing namespace std;\nint main() {\n\tcout << "Hello, World!";\n}'
      }
      language="c++"
    />
  );
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published