Releases: foliage-ui/foliage
Releases · foliage-ui/foliage
v0.201.0
v0.200.1
- added mjs build to add support for CRA
v0.200
- upgrade to effector 22
v0.1.0
The simple release allows reference to other components:
import {styled} from 'leafs'
import {h} from 'forest'
const Button = styled.button`
color: red;
`
const Group = styled.div`
${Button} {
color: green;
}
`
h('div', () => {
Group({
fn() {
Button({ text: "I am green" })
}
})
Button({ text: "I am red" })
})