mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
refactor(segment): removed div wrapping segment buttons
references #356
This commit is contained in:
@ -29,7 +29,7 @@ import {dom} from 'ionic/util';
|
||||
inputs: [
|
||||
'value'
|
||||
],
|
||||
template: '<div class="ion-segment"><ng-content></ng-content></div>',
|
||||
template: '<ng-content></ng-content>',
|
||||
directives: [forwardRef(() => SegmentButton)]
|
||||
})
|
||||
export class Segment extends Ion {
|
||||
|
Reference in New Issue
Block a user