ywana-core8 0.0.899 → 0.0.900

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.899",
3
+ "version": "0.0.900",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
package/src/html/menu.js CHANGED
@@ -54,7 +54,7 @@ export const MenuIcon = (props) => {
54
54
  */
55
55
  export const MenuItem = (props) => {
56
56
 
57
- const { id, icon, label, meta, disabled=false, onSelect } = props
57
+ const { id, icon, label, meta, disabled=false, size="normal", onSelect } = props
58
58
  const [open, setOpen] = useContext(MenuContext)
59
59
 
60
60
  function select() {
@@ -69,7 +69,7 @@ export const MenuItem = (props) => {
69
69
 
70
70
  return (
71
71
  <li className={`menu-item ${style}`} onClick={select}>
72
- {icon ? <Icon icon={icon} /> : null}
72
+ {icon ? <Icon icon={icon} size={size} /> : null}
73
73
  <label>{labelTxt}</label>
74
74
  {meta ? <div className="meta">{meta}</div> : null}
75
75
  </li>