@howincodes/expo-dynamic-app-icon
Version:
Programmatically change the app icon in Expo.
14 lines (13 loc) • 362 B
TypeScript
import { ConfigPlugin } from "@expo/config-plugins";
type IconSet = Record<string, IconSetProps>;
type IosIconSet = string | {
light: string;
dark?: string;
tinted?: string;
};
type IconSetProps = {
ios?: IosIconSet;
android?: string;
};
declare const withDynamicIcon: ConfigPlugin<string[] | IconSet | void>;
export default withDynamicIcon;