Platform style for specific component

Using ionic@latest, is there a way to set a specific component to follow a specific platform style?

For example I’d like my app running on iOs, to use the iOs platform styling, except for one segment-component where I’d like it to use the MD styling.

What I’m looking for is something like this:
<ion-segment [(ngModel)]="program_day" padding class="md">