Skip to main content

euv_code_block

Function euv_code_block 

Source
pub fn euv_code_block(node: VirtualNode<EuvCodeBlockProps>) -> VirtualNode
Expand description

Holds a snippet of code.

The block is a column: the header names the snippet, the content holds the code and the footer holds whatever the snippet needs to say below it.

§Arguments

  • VirtualNode<EuvCodeBlockProps> - The props node carrying the variant and the size of the block.

§Returns

  • VirtualNode - The euv code block virtual DOM tree.