Skip to content

Commit 762108e

Browse files
committed
feat(Media): add bindin for Icon and Image Component
1 parent 9f707a2 commit 762108e

File tree

4 files changed

+1611
-6
lines changed

4 files changed

+1611
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ All of Style Props implementation is write in File:[Chakra__MakeProps.res](https
210210

211211
### Media and Icons
212212
- [ ] Avatar
213-
- [ ] Icon
214-
- [ ] Image
213+
- [x] Icon
214+
- [x] Image
215215

216216
### Others
217217
- [ ] Portal

src/Chakra.res

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ module Kbd = Chakra__Kbd
7272

7373
// ### Typography
7474
// TODO Typography
75-
// module Text = Chakra__Text;
76-
// module Heading = Chakra__Heading;
7775
module Text = Chakra__Text
7876
module Heading = Chakra__Heading
7977

@@ -101,14 +99,15 @@ module Heading = Chakra__Heading
10199
// ### Media and Icons
102100
// TODO Media and Icons
103101
// module Avatar = Chakra__Avatar;
104-
// module Icon = Chakra__Icon;
105-
// module Image = Chakra__Image;
102+
module Icon = Chakra__Icon
103+
module Image = Chakra__Image
106104

107105
// ### Others
108106
// TODO Others
109107
// module Portal = Chakra__Portal;
110108
// module Transitions = Chakra__Transitions;
111109

110+
include Chakra__Transitions
112111
// ### Hooks
113112
// TODO Hooks
114113
// let useBoolean = Chakra__Hooks.useBoolean;

0 commit comments

Comments
 (0)