mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
toolbar refactor wip
This commit is contained in:
@@ -8,7 +8,7 @@ import {
|
||||
Slides, Slide, SlideLazy,
|
||||
Tabs, Tab,
|
||||
Card, List, ListHeader, Item, ItemGroup, ItemGroupTitle,
|
||||
Toolbar,
|
||||
Toolbar, ToolbarTitle, ToolbarItem,
|
||||
Icon,
|
||||
Checkbox, Switch,
|
||||
TextInput, TextInputElement, Label,
|
||||
@@ -58,7 +58,11 @@ export const IonicDirectives = [
|
||||
// Tabs
|
||||
forwardRef(() => Tabs),
|
||||
forwardRef(() => Tab),
|
||||
|
||||
// Toolbar
|
||||
forwardRef(() => Toolbar),
|
||||
forwardRef(() => ToolbarTitle),
|
||||
forwardRef(() => ToolbarItem),
|
||||
|
||||
// Media
|
||||
forwardRef(() => Icon),
|
||||
|
||||
@@ -16,7 +16,6 @@ IonicConfig.modeConfig('ios', {
|
||||
forwardIcon: 'ion-ios-arrow-forward',
|
||||
iconMode: 'ios',
|
||||
|
||||
navTitleAlign: 'center',
|
||||
tabBarPlacement: 'bottom',
|
||||
viewTransition: 'ios',
|
||||
|
||||
@@ -37,7 +36,6 @@ IonicConfig.modeConfig('md', {
|
||||
forwardIcon: '',
|
||||
iconMode: 'md',
|
||||
|
||||
navTitleAlign: 'left',
|
||||
tabBarPlacement: 'top',
|
||||
viewTransition: 'md',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user