Files
quinn-accounts/miniprogram_npm/tdesign-miniprogram/tab-bar/README.en-US.md
2023-01-06 14:24:11 +08:00

1.4 KiB
Raw Blame History

:: BASE_DOC ::

API

TabBar Props

name type default description required
bordered Boolean true - N
custom-style v0.25.0 String - - N
external-classes Array - ['t-class'] N
fixed Boolean true - N
safe-area-inset-bottom Boolean true - N
shape String normal optionsnormal/round N
split Boolean true - N
style String - - N
theme String normal optionsnormal/tag N
value String / Number / Array null Typescriptstring | number | Array<string | number> N
default-value String / Number / Array undefined uncontrolled property。Typescriptstring | number | Array<string | number> N

TabBar Events

name params description
change - -

TabBarItem Props

name type default description required
badge-props Object - TypescriptBadgePropsBadge API Documentssee more ts definition N
custom-style String - - N
icon String / Slot - - N
style String - - N
sub-tab-bar Array - TypescriptSubTabBarItem[] interface SubTabBarItem { value: string; label: string }see more ts definition N
value String / Number - - N