Skip to content
  • Tor Raswill's avatar
    #4887 Add support for setting columns in <Row> (#4900) · 3f981a42
    Tor Raswill authored
    
    
    * Update Row.js
    
    Extend Row with colSize prop and let it accept sizing inputs similar to <Col>
    
    * Update RowSpec.js
    
    Extend RowSpec test to include changes to Row
    
    * Extend docs to include Row Columns
    
    Extend docs to include Row Columns
    
    * Update Row.js
    
    Update const names, props and descriptions to better explain what they do
    
    * Update Row.js
    
    Re-added type object, renamed cols array to rowCols, renamed col const to cols to match cols in object
    
    * Update Row.js
    
    clean up per comments from @taion
    
    * Update Row.js
    
    Place comment for as correctly, remove rowCols and replace with classes to tidier code.
    
    * Update Row.js
    
    remove unneeded code
    
    * Updated docs
    
    Updated docs, re-wrote text
    
    * Update src/Row.js
    
    Co-Authored-By: default avatarJimmy Jia <tesrin@gmail.com>
    
    * Add types to Row.d.ts
    
    Add types for rowColumns
    
    * Update types/components/Row.d.ts
    
    Co-Authored-By: default avatarJimmy Jia <tesrin@gmail.com>
    
    * Update docs
    
    Update docs for <Row> column widths and simplify it a bit by rewording some and removing unneeded example that showed the same thing again.
    
    Updated imports to better follow previously imported examples.
    
    Co-authored-by: default avatarTor Raswill <tor.raswill@dqc.se>
    Co-authored-by: default avatarJimmy Jia <tesrin@gmail.com>
    3f981a42