question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can you embed content in this?

See original GitHub issue

Is there a way to appropriately embed content within a

<Progress.Circle>

</Progress.Circle>

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
obladorcommented, Jul 31, 2016

You’ll need to absolutely position the text within the view. Try something like this:

<Progress.Circle
  size = { 150 }
  style={styles.progress}
  progress={this.state.progress}
  indeterminate={this.state.indeterminate}
>
  <View style={{
    position: 'absolute',
    left: 0, 
    right: 0,
    top: 0,
    bottom: 0,
    alignItems: 'center',
    justifyContent: 'center'
  }}>
    <Text>Test</Text>
  </View>
</Progress.Circle>
3reactions
obladorcommented, Jul 31, 2016

Yes, anything you put in as children will be passed down.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add content to your page using the Embed web part
You can embed content from some websites by copying and pasting the site's web address for the content into the Embed web part...
Read more >
The Embed External Content element - HTML - MDN Web Docs
The <embed> HTML element embeds external content at the specified point in the document. This content is provided by an external application ......
Read more >
Securely embed content on your site - Chrome Developers
There are several ways developers can embed content on a website. The most common technique is to use an <iframe> , which allows...
Read more >
How to Add HTML Embed Codes to Your Website [Quick Tip]
Embed means to integrate external content into another website or page. You embed something when you place a block of code — called...
Read more >
What is embedding and when to do it on Facebook and Twitter
Definition: Embedding refers to the integration of links, images, videos, gifs and other content into social media posts or other web media.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found