Components / CodeBlock
CodeBlock
A command to copy.
Example
The component itself, running in WebAssembly, beside its code in a playground. Try it.
Code
use ravenrs::prelude::*;
fn code_block() -> impl View {
CodeBlock::new("cargo add ravenrs")
}