Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

textRow style placeholder with multiple rows #77

Open
m-salamon opened this issue Sep 7, 2018 · 2 comments
Open

textRow style placeholder with multiple rows #77

m-salamon opened this issue Sep 7, 2018 · 2 comments

Comments

@m-salamon
Copy link

m-salamon commented Sep 7, 2018

I want the textRow style with with multiple rows .
Why cant this be done, I dont see it in the documentation but there should be a feature to do this.

<ReactPlaceholder type='textRow' rows={10} ready={false}>
     <MyComponent/>	
</ReactPlaceholder>
@m-salamon
Copy link
Author

This is the solution for what I want to do

<ReactPlaceholder ready={false} customPlaceholder={[0,1,2,3,4,5,6,7,8,9].map(i => <ReactPlaceholder type='textRow' />)} >
	 <MyComponent/>
</ReactPlaceholder>

@FrancescoCioria
Copy link
Contributor

Hi @m-salamon
have you tried type="text"? I think that's what you're looking for

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants