Code Snippet
Code snippet is used to display code or commands for user to copy and paste.
#Example
#Usage
#With label
#Without label
#Props
Name | Default | Description |
---|
code | — | string Code snippet. |
label | — | string Label to show above the code snippet. |
hasCopyButton | true | boolean Whether to show a copy button. |