fix(): update to Stencil One 🎉🎊

This commit is contained in:
Manu MA
2019-06-19 21:33:50 +02:00
committed by GitHub
parent 7f1829eb21
commit b40f7d36d5
572 changed files with 14426 additions and 9916 deletions

View File

@ -1,10 +1,9 @@
```tsx
import React from 'react';
import { IonSegment, IonSegmentButton, IonLabel, IonIcon, IonContent } from '@ionic/react';
import { IonSegment, IonSegmentButton, IonLabel, IonIcon } from '@ionic/react';
const Example: React.SFC<{}> = () => (
<>
export const SegmentButtonExample: React.FunctionComponent = () => (
<IonContent>
{/*-- Segment buttons with text and click listeners --*/}
<IonSegment>
<IonSegmentButton onIonSelect={() => console.log('Friends segment selected')}>
@ -140,8 +139,6 @@ const Example: React.SFC<{}> = () => (
<IonLabel>Item Three</IonLabel>
</IonSegmentButton>
</IonSegment>
</>
</IonContent>
);
export default Example;
```