Skip to content

Commit

Permalink
injectComponentClasses is no longer supported (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomura authored and iamdustan committed Nov 2, 2016
1 parent c6b8495 commit dcc9d3e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/injection.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,19 +79,13 @@ function inject() {
//
// * injectGenericComponentClass
// * injectTextComponentClass
// * injectComponentClasses
//
// `GenericComponentClass` is analogous to $JSXInstrinsics in flow
// terminology. This is a lowercase JSXElement such as <div />
//
// `TextComponentClass` is what class should be used when text is being
// rendered. This is what would be called for the single child in
// <div>Hello, world.</div>
//
// `injectComponentClasses` allows configuring a mapping of keys to classes.
// For example, the following scenario would map `<input />` to the specific
// ReactDOMInput component.
// `injectComponentClasses({input: ReactDOMInput})`
(ReactInjection.NativeComponent || ReactInjection.HostComponent).injectGenericComponentClass(
TinyRendererComponent
);
Expand Down

0 comments on commit dcc9d3e

Please sign in to comment.