docs(ios-stickers): add doc block (#55)

This commit is contained in:
Evan Bacon authored and GitHub committed 2022-03-15 19:07:45 -05:00
1 parent 1374ab2bf4
commit c904bc6a5f
3 files changed
+3

No files matched your search

+1
View File
@@ -1,4 +1,5 @@
import { ConfigPlugin } from "@expo/config-plugins";
/** Dangerously applies sticker assets to the iOS project. */
export declare const withStickerAssets: ConfigPlugin<{
icon?: string;
size: string;
+1
View File
@@ -44,6 +44,7 @@ function createSticker({ stickerpackPath, name, imageBuffer, extension, accessib
name: stickerName,
};
}
/** Dangerously applies sticker assets to the iOS project. */
const withStickerAssets = (config, { stickers, icon, size }) => {
// Default to using the app icon
if (!icon) {
@@ -68,6 +68,7 @@ function createSticker({
};
}
/** Dangerously applies sticker assets to the iOS project. */
export const withStickerAssets: ConfigPlugin<{
icon?: string;
size: string;