coles-solid-library 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/readme.md +1 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coles-solid-library",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "A SolidJS mostly UI library",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",
package/readme.md CHANGED
@@ -61,6 +61,7 @@ const App: Component = () => {
61
61
  <Header>Name</Header>
62
62
  <Cell<Person>>{(row) => row.name}</Cell>
63
63
  <Cell footer>The Names</Cell>
64
+ <Cell<Person> rowNumber={2} colSpan={2}>{(row) => `${row.name} is ${row.age}`}</Cell>
64
65
  </Column>
65
66
 
66
67
  <Column name='age'>
@@ -69,10 +70,6 @@ const App: Component = () => {
69
70
  <Cell footer>The Ages</Cell>
70
71
  </Column>
71
72
 
72
- <Column rowNumber={2} name='name' >
73
- <Cell<Person> colSpan={2}>{(row) => `${row.name} is ${row.age}`}</Cell>
74
- </Column>
75
-
76
73
  <Row header style={{"border-bottom": "1px solid white"}} />
77
74
  <Row class={styles.textCenter} />
78
75
  <Row class={styles.textCenter} style={{"border-bottom": "1px solid white"}} rowNumber={2} />