@meonode/ui 0.1.76 → 0.1.77

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/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,8 +12,8 @@ A structured approach to component composition with built-in theming, prop separ
12
12
  import { Component, Div, H1, Button } from '@meonode/ui';
13
13
 
14
14
  // Create a reusable styled component
15
- const BlueButton = Component((props) =>
16
- Button('Blue', {
15
+ const BlueButton = Component(({ children, ...props }) =>
16
+ Button(children, {
17
17
  padding: '12px 24px',
18
18
  borderRadius: '8px',
19
19
  backgroundColor: 'dodgerblue',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meonode/ui",
3
3
  "description": "A structured approach to component composition with built-in theming, prop separation, and dynamic children handling.",
4
- "version": "0.1.76",
4
+ "version": "0.1.77",
5
5
  "type": "module",
6
6
  "main": "./dist/main.js",
7
7
  "types": "./dist/main.d.ts",