stream-chat-react-native-core
Version:
The official React Native and Expo components for Stream Chat, a service for building chat applications
31 lines • 1.31 kB
JavaScript
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.InputView = void 0;
var _react = _interopRequireDefault(require("react"));
var _reactNative = require("react-native");
var _AutoCompleteInput = require("./AutoCompleteInput");
var _CommandChip = require("../MessageInput/CommandChip");
var _ShowThreadMessageInChannelButton = require("../MessageInput/ShowThreadMessageInChannelButton");
var _jsxRuntime = require("react/jsx-runtime");
var _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/components/AutoCompleteInput/InputView.tsx";
var InputView = props => (0, _jsxRuntime.jsxs)(_reactNative.View, {
style: styles.container,
children: [(0, _jsxRuntime.jsxs)(_reactNative.View, {
style: styles.inputRow,
children: [(0, _jsxRuntime.jsx)(_CommandChip.CommandChip, {}), (0, _jsxRuntime.jsx)(_AutoCompleteInput.AutoCompleteInput, {
...props
})]
}), (0, _jsxRuntime.jsx)(_ShowThreadMessageInChannelButton.ShowThreadMessageInChannelButton, {})]
});
exports.InputView = InputView;
var styles = _reactNative.StyleSheet.create({
container: {
flex: 1
},
inputRow: {
flexDirection: 'row'
}
});
//# sourceMappingURL=InputView.js.map