UNPKG

@pixi/react

Version:

Write PixiJS applications using React declarative style.

1 lines 643 B
{"version":3,"file":"hideTextInstance.mjs","sources":["../../src/helpers/hideTextInstance.ts"],"sourcesContent":["import { type HostConfig } from '../typedefs/HostConfig';\nimport { log } from './log';\n\n/** Always throws, because we don't support this (yet). */\nexport function hideTextInstance(\n _textInstance: HostConfig['textInstance'],\n)\n{\n log('info', 'lifecycle::hideTextInstance');\n throw new Error('Text instances are not yet supported. Please use a `<text>` component.');\n}\n"],"names":[],"mappings":";;;AAIO,SAAS,iBACZ,aAEJ,EAAA;AACI,EAAA,GAAA,CAAI,QAAQ,6BAA6B,CAAA;AACzC,EAAM,MAAA,IAAI,MAAM,wEAAwE,CAAA;AAC5F;;;;"}