Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. export const ContentBox = createRegisterableComponent(
  2. "content-box",
  3. (props: { content: string }, services) => (
  4. <div>
  5. <p>{props.content}</p>
  6. {services.featureState.showSpecial && (
  7. <div>Special content item - enabled with feature toggle service</div>
  8. )}
  9. </div>
  10. )
  11. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement