Components
Component library
The CodeGroup component lets you combine code blocks in a display separated by tabs
<CodeGroup> ```javascript helloWorld.js console.log("Hello World"); ``` ```python hello_world.py print('Hello World!') ``` ```java HelloWorld.java class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); } } ``` </CodeGroup>
<CodeGroup>
console.log("Hello World");
Was this page helpful?