Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export const ContentBox = createRegisterableComponent(
- "content-box",
- (props: { content: string }, services) => (
- <div>
- <p>{props.content}</p>
- {services.featureState.showSpecial && (
- <div>Special content item - enabled with feature toggle service</div>
- )}
- </div>
- )
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement