@@ -135,7 +135,8 @@ export default Component;
135135
136136[ ![ Edit InView plain children] ( https://codesandbox.io/static/img/play-codesandbox.svg )] ( https://codesandbox.io/s/inview-plain-children-vv51y?fontsize=14&hidenavigation=1&theme=dark )
137137
138- > ⚠️ When rendering a plain child, make sure you keep your HTML output semantic.
138+ > ** Note** <br >
139+ > When rendering a plain child, make sure you keep your HTML output semantic.
139140> Change the ` as ` to match the context, and add a ` className ` to style the
140141> ` <InView /> ` . The component does not support Ref Forwarding, so if you need a
141142> ` ref ` to the HTML element, use the Render Props version instead.
@@ -299,8 +300,8 @@ afterEach(() => {
299300});
300301` ` `
301302
302- > ⚠️ You only need to do this if the test environment does not support
303- > ` beforeEach` globally, alongside either ` jest .fn ` or ` vi .fn ` .
303+ You only need to do this if the test environment does not support
304+ ` beforeEach` globally, alongside either ` jest .fn ` or ` vi .fn ` .
304305
305306#### Other Testing Libraries
306307
@@ -499,7 +500,8 @@ const destroy = observe(element, callback, options);
499500The ` observe` method returns an ` unobserve` function, that you must call in
500501order to destroy the observer again.
501502
502- > ⚠️ You most likely won't need this, but it can be useful if you need to handle
503+ > **Warning**<br>
504+ > You most likely won't need this, but it can be useful if you need to handle
503505> IntersectionObservers outside React, or need full control over how instances
504506> are created.
505507
0 commit comments