Skip to content

Commit e4aff9c

Browse files
ktaborsdevongovett
andauthored
adding docs for isEmphasized (#3125)
Co-authored-by: Devon Govett <[email protected]>
1 parent 959f139 commit e4aff9c

File tree

1 file changed

+30
-0
lines changed
  • packages/@react-spectrum/tabs/docs

1 file changed

+30
-0
lines changed

packages/@react-spectrum/tabs/docs/Tabs.mdx

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,3 +535,33 @@ function Example() {
535535
);
536536
}
537537
```
538+
539+
### Emphasized
540+
[View guidelines](https://spectrum.adobe.com/page/tabs/#Emphasis)
541+
542+
```tsx example
543+
<Tabs aria-label="Chat log emphasized example" isEmphasized>
544+
<TabList>
545+
<Item key="item1">
546+
John Doe
547+
</Item>
548+
<Item key="item2">
549+
Jane Doe
550+
</Item>
551+
<Item key="item3">
552+
Joe Bloggs
553+
</Item>
554+
</TabList>
555+
<TabPanels>
556+
<Item key="item1">
557+
There is no prior chat history with John Doe.
558+
</Item>
559+
<Item key="item2">
560+
There is no prior chat history with Jane Doe.
561+
</Item>
562+
<Item key="item3">
563+
There is no prior chat history with Joe Bloggs.
564+
</Item>
565+
</TabPanels>
566+
</Tabs>
567+
```

0 commit comments

Comments
 (0)