@mintlify/components
Advanced tools
Comparing version 0.3.15 to 0.3.16
@@ -19,2 +19,8 @@ import React, { ComponentPropsWithoutRef } from 'react'; | ||
export type CodeBlockProps = CodeBlockPropsBase & Omit<ComponentPropsWithoutRef<'div'>, keyof CodeBlockPropsBase>; | ||
export declare const CodeBlock: React.ForwardRefExoticComponent<CodeBlockPropsBase & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>>, keyof CodeBlockPropsBase> & React.RefAttributes<HTMLDivElement>>; | ||
export declare const CodeBlock: React.ForwardRefExoticComponent<CodeBlockPropsBase & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof CodeBlockPropsBase> & React.RefAttributes<HTMLDivElement>>; | ||
export declare function CopyToClipboardButton({ textToCopy, tooltipColor, onCopied, className, }: { | ||
textToCopy: string; | ||
tooltipColor?: string; | ||
onCopied?: (result: CopyToClipboardResult, textToCopy?: string) => void; | ||
className?: string; | ||
} & ComponentPropsWithoutRef<'button'>): JSX.Element | null; |
@@ -29,2 +29,2 @@ import React, { ComponentPropsWithoutRef, FormEventHandler, ReactElement } from 'react'; | ||
*/ | ||
export declare const CodeGroup: React.ForwardRefExoticComponent<CodeGroupPropsBase & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>>, keyof CodeGroupPropsBase> & React.RefAttributes<HTMLDivElement>>; | ||
export declare const CodeGroup: React.ForwardRefExoticComponent<CodeGroupPropsBase & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof CodeGroupPropsBase> & React.RefAttributes<HTMLDivElement>>; |
{ | ||
"name": "@mintlify/components", | ||
"version": "0.3.15", | ||
"version": "0.3.16", | ||
"description": "Open-source library of UI components made with React and TailwindCSS.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
0
144497
587
1