-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
24 lines (22 loc) · 823 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
export interface Options {
/**
* The {@link https://docusaurus.io/docs/markdown-features/tabs#syncing-tab-choices `groupId`}
* property for all instances of `Tabs` component created by this plugin.
*/
groupId?: string;
/**
* List with tuples with code block language attribute and tab label text.
*/
labels?: Array<[string, string]>;
/**
* Whether tab choices should be {@link https://docusaurus.io/docs/markdown-features/tabs#syncing-tab-choices synced}
* between all tabs created by this plugin.
*/
sync?: boolean;
}
/**
* Turns Docusaurus {@link https://docusaurus.io/docs/next/markdown-features/code-blocks code blocks}
* into {@link https://docusaurus.io/docs/next/markdown-features/tabs tabs}.
*/
declare function tabBlocks(options?: Options): void;
export default tabBlocks;