MCPcopy Create free account
hub / github.com/BetaSu/big-react / unhideInstance

Function unhideInstance

packages/react-dom/src/hostConfig.ts:77–80  ·  view source on GitHub ↗
(instance: Instance)

Source from the content-addressed store, hash-verified

75}
76
77export function unhideInstance(instance: Instance) {
78 const style = (instance as HTMLElement).style;
79 style.display = '';
80}
81
82export function hideTextInstance(textInstance: TextInstance) {
83 textInstance.nodeValue = '';

Callers 1

hideOrUnhideAllChildrenFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected