c063 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/props.d.ts +1 -1
- package/package.json +1 -1
package/dist/types/props.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export type CodeTokenProps<T extends React.ElementType = React.ElementType<React
|
|
|
12
12
|
*/
|
|
13
13
|
type?: CodeTokenType;
|
|
14
14
|
}>;
|
|
15
|
-
export type CodeTokenBuilder = (children: CodeTokenProps["children"], props
|
|
15
|
+
export type CodeTokenBuilder = (children: CodeTokenProps["children"], props?: DistributiveOmit<CodeTokenProps, "type">) => CodeTokenProps;
|
|
16
16
|
/**
|
|
17
17
|
* 用於單一程式碼行的屬性,用在 <CodeLine /> 或類似元件中。
|
|
18
18
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "c063",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.2",
|
|
5
5
|
"description": "A React component for displaying code snippets with syntax highlighting.",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|