@livelike/react-native
Version:
LiveLike React Native package
28 lines • 654 B
JavaScript
import React from 'react';
import { StyleSheet } from 'react-native';
import { useStyles } from '../../hooks';
import { LLText } from '../LLText';
export function LLPickerEmptyComponent(_ref) {
let {
styles: stylesProp
} = _ref;
const styles = useStyles({
componentStylesFn: getEmptyPickerStyles,
stylesProp
});
return /*#__PURE__*/React.createElement(LLText, {
style: styles.text
}, "No items found!");
}
const getEmptyPickerStyles = _ref2 => {
let {
theme
} = _ref2;
return StyleSheet.create({
text: {
padding: 10,
color: theme.text
}
});
};
//# sourceMappingURL=LLPickerEmptyComponent.js.map