react-native-ios-utilities
Version:
Utilities for react-native + iOS and wrappers for using swift together with fabric/paper + JSI
21 lines (16 loc) • 650 B
text/typescript
import type { UniformKeyAndValue } from "../types/UtilityTypes";
const UIVibrancyEffectStylesRaw = {
label: 'label',
secondaryLabel: 'secondaryLabel',
tertiaryLabel: 'tertiaryLabel',
quaternaryLabel: 'quaternaryLabel',
fill: 'fill',
secondaryFill: 'secondaryFill',
tertiaryFill: 'tertiaryFill',
separator: 'separator',
};
export type UIVibrancyEffectStyle = keyof (typeof UIVibrancyEffectStylesRaw);
export const UIVibrancyEffectStyles =
UIVibrancyEffectStylesRaw as UniformKeyAndValue<UIVibrancyEffectStyle>;
export const UIVibrancyEffectStyleItems =
Object.keys(UIVibrancyEffectStylesRaw) as Array<UIVibrancyEffectStyle>;