Untitled

mail@pastecode.io avatar
unknown
javascript
2 years ago
445 B
3
Indexable
Never
(() =>
{
	class TextFieldAndroidBugComponent extends LayoutComponent
	{
		render()
		{
			return View(
				{},
				TextField(
					{
						style: {
							fontSize: 16,
						},
						placeholder: 'Some placeholder',
						onChangeText: (text) => {
							console.log('bug', text);
						},
					}
				),
			);

		}
	}

	BX.onViewLoaded(() =>
	{
		layout.showComponent(new TextFieldAndroidBugComponent())
	});
})();