decord/source/design/components/TextField/native/SearchField.native.tsx

30 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 6101
// Function ID: 6102
2026-07-20 16:05:17 +00:00
// Name: SearchField
2026-08-25 06:04:03 +00:00
// Dependencies: [19, 21, 6102, 1236, 6115, 2]
2026-07-20 16:05:17 +00:00
2026-08-25 06:04:03 +00:00
// Module 6101 (SearchField)
2026-08-24 06:08:38 +00:00
import getSystemLocale from "getSystemLocale" /* 1236 */;
2026-08-25 06:04:03 +00:00
import TextField from "TextField" /* 6102 */;
import MagnifyingGlassIcon from "MagnifyingGlassIcon" /* 6115 */;
2026-08-24 06:08:38 +00:00
import { jsx } from "jsxProd" /* 21 */;
import importAllResult from "noop" /* 19 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
const forwardRefResult = importAllResult.forwardRef((arg0, arg1) => {
2026-07-29 08:29:29 +00:00
const obj = { placeholder: null, returnKeyType: "search", ref: null };
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
obj[0] = intl.string(getSystemLocale.t["5h0QOP"]);
2026-07-29 08:29:29 +00:00
obj[2] = arg1;
2026-07-20 16:05:17 +00:00
const merged = Object.assign(arg0);
2026-07-29 08:29:29 +00:00
obj.autoCorrect = false;
obj.autoCapitalize = "none";
obj.accessibilityRole = "search";
2026-08-24 06:08:38 +00:00
obj.leadingIcon = MagnifyingGlassIcon.MagnifyingGlassIcon;
2026-07-29 08:29:29 +00:00
obj.isClearable = true;
2026-08-24 06:08:38 +00:00
return jsx(TextField.TextField, { placeholder: null, returnKeyType: "search", ref: null });
2026-07-20 16:05:17 +00:00
});
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("design/components/TextField/native/SearchField.native.tsx");
2026-07-20 16:05:17 +00:00
export const SearchField = forwardRefResult;