-
Notifications
You must be signed in to change notification settings - Fork 52
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
Columns? #19
Comments
yes, we need to create Column component. We will be grateful for the pull request. |
I'll be making a pull request If you haven't worked on that. Did you work? |
I have gotten really far with this and think I can get it in the next few days. I do want some feedback on somethings though. There are just so many different sizes you can pass in for a column
Which I really like, but I would like to see what others think. Second issue is all the responsive things you can pass to a column like the bulma docs have here. To implement that I could make it so that you can only pass one to
I think its a good compromise and keeps the api flexible, please tell me what you guys think @dotamir @kulakowka @Darklod |
@skbolton I agree with the first one. Do it. |
I think it should be: <Column threeQuarters />
<Column twoThirds />
<Column half />
<Column oneThird />
<Column oneQuarter />
<Column fourFifths />
<Column threeFifths />
<Column twoFifths />
<Column oneFifth /> |
Then how would we handle the numbers? And then how to handle the responsive sizes for all those options |
I prefer to use number only, but prop-name should be "span" or "size". |
Maybe we can support all of this: <Column threeQuarters />
<Column twoThirds />
<Column half />
<Column oneThird />
<Column oneQuarter />
<Column fourFifths />
<Column threeFifths />
<Column twoFifths />
<Column oneFifth />
<Column is="2" /> or <Column is={2} />
<Column is="3" /> or <Column is={3} />
<Column is="4" /> or ...
<Column is="5" />
<Column is="6" />
<Column is="7" />
<Column is="8" />
<Column is="9" />
<Column is="10" />
<Column is="11" />
<Column offset="1" /> or <Column offset={1} />
<Column offset="2" /> or <Column offset={2} />
<Column offset="3" /> or ...
<Column offset="4" />
<Column offset="5" />
<Column offset="6" />
<Column offset="7" />
<Column offset="8" />
<Column offset="9" />
<Column offset="10" />
<Column offset="11" />
<Column offsetThreeQuarters />
<Column offsetTwoThirds />
<Column offsetHalf />
<Column offsetOneThird />
<Column offsetOneQuarter />
<Column offsetFourFifths />
<Column offsetThreeFifths />
<Column offsetTwoFifths />
<Column offsetOneFifth />
<Colum narrow />
<Colum narrowMobile />
<Colum narrowTablet />
<Colum narrowDesktop /> |
@skbolton So what you think about this? |
@dotamir I have since moved to a different bulma react component library. If you want my code that I was going to pr I can get it to you. It was mostly complete |
@skbolton Thank you. Yes, I'll be pleasure if you give me the codes. Push your changes on the PR. |
Did this ever make it |
@skbolton would you please share the name? |
Columns are missing?
The text was updated successfully, but these errors were encountered: