mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-31 15:29:32 +02:00
fix(theme-classic): allow rendering single tab item (#8593)
This commit is contained in:
parent
2f02beebe2
commit
1bff83cacc
3 changed files with 17 additions and 1 deletions
|
@ -32,7 +32,9 @@ export interface TabValue {
|
|||
export interface TabsProps {
|
||||
readonly lazy?: boolean;
|
||||
readonly block?: boolean;
|
||||
readonly children: readonly ReactElement<TabItemProps>[];
|
||||
readonly children:
|
||||
| readonly ReactElement<TabItemProps>[]
|
||||
| ReactElement<TabItemProps>;
|
||||
readonly defaultValue?: string | null;
|
||||
readonly values?: readonly TabValue[];
|
||||
readonly groupId?: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue