UNPKG

babel-plugin-wind

Version:

A plugin of babel to cherry-pick wind modules

11 lines (8 loc) 253 B
import React, { Component } from 'react'; import Icon from "@aliwind/lib/icon"; import Button from "@aliwind/lib/button"; import _ from 'lodash'; const MyComponent = () => <Button> <Icon type="question" /> </Button>; export default MyComponent;