UiStrings — @gj-kit/expo-ui
@gj-kit/expo-ui에서 공개하는 interface입니다. package version 0.8.1의 release declaration을 그대로 표시합니다.
검증된 import 예제
섹션 제목: “검증된 import 예제”import { UiStrings } from '@gj-kit/expo-ui';시그니처, 매개변수, 반환 타입
섹션 제목: “시그니처, 매개변수, 반환 타입”/** * The string injection system — design doc §4.1. * * Precedence: an individual prop, then Provider strings, then the built-in en. * Partial<UiStrings> is deliberately not accepted — when the library adds a key, * consumers of a hand-assembled bundle see a compile error instead of a missing * key quietly leaking through in English. Customize by spreading: * `{ ...koStrings, retry: '다시 시도' }`. */interface UiStrings { /** The Skeleton accessibility label. */ readonly loading: string; /** The default EmptyState title. */ readonly emptyTitle: string; /** The default ErrorState title. */ readonly errorTitle: string; /** The default ErrorState body. */ readonly errorBody: string; /** The ErrorState retry button. */ readonly retry: string; /** The SelectAllRow unselected label. */ readonly selectAll: string; /** The SelectAllRow deselect label. */ readonly deselectAll: string; /** ConfirmActionRow cancel. */ readonly cancel: string; /** ConfirmActionRow confirm. */ readonly confirm: string; /** The Dialog backdrop accessibility label. */ readonly close: string; /** The default SearchField placeholder. */ readonly searchPlaceholder: string; /** The combobox no-results state. */ readonly noResults: string; /** The ascending state of the DataTable compact sort control. */ readonly sortAscending: string; /** The descending state of the DataTable compact sort control. */ readonly sortDescending: string; /** The unsorted state of the DataTable compact sort control. */ readonly sortUnsorted: string; /** * The visually hidden keyboard hint referenced by activatable DataTable rows * on the web through `aria-describedby`. */ readonly rowActivationHint: string; /** The Pagination previous control. */ readonly previousPage: string; /** The Pagination next control. */ readonly nextPage: string; /** The Rating announcement when no value is selected. */ readonly ratingNoValue: string; /** The Rating announcement for a selected value. Keep value and maxRating in the user-facing scale. */ readonly ratingValue: (value: number, maxRating: number) => string; /** The Rating custom accessibility action that clears a selected value. */ readonly clearRating: string; /** The DateField year segment name. */ readonly dateFieldYear: string; /** The DateField month segment name. */ readonly dateFieldMonth: string; /** The DateField day segment name. */ readonly dateFieldDay: string;}이 선언은 매개변수, optionality, 제네릭, 반환값, 공개 union/type 계약의 정본입니다. 호출 전 필요한 환경·권한·오류 경계는 패키지 Golden path와 이 subpath의 import 조건을 함께 확인하세요.
Release context
섹션 제목: “Release context”- 패키지:
@gj-kit/expo-ui - 버전:
0.8.1 - 공개 entry:
. - 소스: GitHub
구현 주석
섹션 제목: “구현 주석”The string injection system — design doc §4.1.
Precedence: an individual prop, then Provider strings, then the built-in en.
Partial{ ...koStrings, retry: '다시 시도' }.