mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(react): update component usage docs (#17615)
This commit is contained in:
16
core/src/components/content/usage/react.md
Normal file
16
core/src/components/content/usage/react.md
Normal file
@@ -0,0 +1,16 @@
|
||||
```tsx
|
||||
import React from 'react';
|
||||
|
||||
import { IonContent } from '@ionic/react';
|
||||
|
||||
const Example: React.SFC<{}> = () => (
|
||||
<IonContent
|
||||
scrollEvents={true}
|
||||
onIonScrollStart={() => {}}
|
||||
onIonScroll={() => {}}
|
||||
onIonScrollEnd={() => {}}>
|
||||
</IonContent>
|
||||
);
|
||||
|
||||
export default Example;
|
||||
```
|
||||
Reference in New Issue
Block a user