ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
components/ui/code
CodeProps
Interface CodeProps
interface
CodeProps
{
asChild
?:
boolean
;
showCopyButton
?:
boolean
;
copyText
?:
string
;
variant
?:
"default"
|
"destructive"
|
"outline"
|
null
;
size
?:
"default"
|
"lg"
|
"sm"
|
null
;
}
Hierarchy
HTMLAttributes
<
HTMLElement
>
VariantProps
<
typeof
codeVariants
>
CodeProps
Index
Properties
as
Child?
show
Copy
Button?
copy
Text?
variant?
size?
Properties
Optional
as
Child
asChild
?:
boolean
Optional
show
Copy
Button
showCopyButton
?:
boolean
Optional
copy
Text
copyText
?:
string
Optional
variant
variant
?:
"default"
|
"destructive"
|
"outline"
|
null
= ...
Optional
size
size
?:
"default"
|
"lg"
|
"sm"
|
null
= ...
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
as
Child
show
Copy
Button
copy
Text
variant
size
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...