mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(docs): small fixes
This commit is contained in:
parent
1569b59725
commit
6a4e16b224
@ -45,7 +45,7 @@ export const ImportTabs = ({commands}: ImportTabsProps) => {
|
||||
classNames={{
|
||||
base: "bg-code-background text-code-foreground",
|
||||
pre: "font-light text-base",
|
||||
copyButton: "text-lg text-code-foreground/50",
|
||||
copyButton: "text-lg text-default-400",
|
||||
}}
|
||||
>
|
||||
<Codeblock codeString={commands[key] as string} language="jsx" />
|
||||
|
||||
@ -94,7 +94,7 @@ You can customize the copy and copied icons by using the `copyIcon` and `checkIc
|
||||
| hideSymbol | `boolean` | Whether to hide the symbol. | `false` |
|
||||
| copyButtonProps | [ButtonProps](/docs/components/button#button-props) | The props of the copy button. | - |
|
||||
| disableAnimation | `boolean` | Whether to disable the animations. | `false` |
|
||||
| classNames | `Record<"base"|"content"|"pre"|"symbol"|"copyButton"|"checkIcon", string>` | Allows to set custom class names for the skeleton slots. | - |
|
||||
| classNames | `Record<"base"|"content"|"pre"|"symbol"|"copyButton"|"checkIcon", string>` | Allows to set custom class names for the snippet slots. | - |
|
||||
|
||||
### Snippet Events
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user