pub fn euv_code_block(node: VirtualNode<EuvCodeBlockProps>) -> VirtualNodeExpand 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.