react-placeholder
react-placeholder copied to clipboard
textRow style placeholder with multiple rows
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>
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>
Hi @m-salamon
have you tried type="text"? I think that's what you're looking for