feat(tabs): support auto width tabs

Closes #899
This commit is contained in:
metonym 2021-11-10 14:16:11 -08:00
commit 924deee6f6
5 changed files with 32 additions and 7 deletions

View file

@ -15,6 +15,12 @@ export interface TabsProps
*/
type?: "default" | "container";
/**
* Set to `true` for tabs to have an auto-width
* @default false
*/
autoWidth?: boolean;
/**
* Specify the ARIA label for the chevron icon
* @default "Show menu options"