mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-01-31 05:57:33 +00:00
20 lines
499 B
TypeScript
20 lines
499 B
TypeScript
import * as React from 'react';
|
|
import ActionSheet from 'react-native-actionsheet';
|
|
|
|
class Example extends React.Component {
|
|
render() {
|
|
return (
|
|
<ActionSheet
|
|
options={['1', '2', '3']}
|
|
onPress={index => {}}
|
|
title="Test"
|
|
message="Test"
|
|
tintColor="white"
|
|
cancelButtonIndex={0}
|
|
destructiveButtonIndex={1}
|
|
styles={{}}
|
|
/>
|
|
);
|
|
}
|
|
}
|