MCPcopy Create free account
hub / github.com/ampproject/amphtml / Component

Method Component

src/preact/base-element.js:140–142  ·  view source on GitHub ↗

* Override to provide the Component definition. * * @type {import('preact').FunctionComponent} * @return {ReturnType }

()

Source from the content-addressed store, hash-verified

138 * @return {ReturnType<import('preact').FunctionComponent>}
139 */
140 static Component() {
141 devAssert(false, 'Must provide Component');
142 }
143
144 /**
145 * If default props are static, this can be used instead of init().

Callers

nothing calls this directly

Calls 1

devAssertFunction · 0.90

Tested by

no test coverage detected