notion-helper
Version:
A library of functions for working more easily with the Notion API
21 lines • 693 B
text/typescript
/**
*
* @param {string} value - either an emoji character or a URL for an externally-hosted image file.
* @returns {Object} - An object representing the icon.
*/
export function setIcon(value: string): Object;
/**
* Creates a representation of an external link.
*
* @param {string} url - The URL of the external link.
* @returns {Object} An object containing the external URL.
*/
export function createExternal(url: string): Object;
/**
* Creates a representation of an emoji.
*
* @param {string} emoji - The emoji character.
* @returns {Object} An object containing the emoji.
*/
export function createEmoji(emoji: string): Object;
//# sourceMappingURL=emoji-and-files.d.mts.map