Skip to content

Commit

Permalink
Merge pull request #24 from kodingdotninja/feature/bootstrap
Browse files Browse the repository at this point in the history
feat(bootstrap): create @chakra-icons/bootstrap
  • Loading branch information
r17x committed Feb 2, 2022
2 parents 8d1ac41 + 91cc85e commit 02de6cf
Show file tree
Hide file tree
Showing 9 changed files with 8,505 additions and 11 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@

## Packages

| Name | Publishable | Version |
| ------------------------------------------------------------------------------------------------------------ | ----------- | --------------------------------------------------------------------------------------------------------------------- |
| [create-chakra-icons](https://github.com/kodingdotninja/chakra-icons/tree/main/packages/create-chakra-icons) || [![npm version](https://badge.fury.io/js/create-chakra-icons.svg)](https://www.npmjs.com/package/create-chakra-icons) |
| [@chakra-icons/cli](https://github.com/kodingdotninja/chakra-icons/tree/main/tooling/cli) || [![npm version](https://badge.fury.io/js/@chakra-icons/cli.svg)](https://www.npmjs.com/package/@chakra-icons/cli) |
| [@tooling/tsconfig](https://github.com/kodingdotninja/chakra-icons/tree/main/tooling/ts.conf) || |
| [@tooling/msrconfig](https://github.com/kodingdotninja/chakra-icons/tree/main/tooling/msr.conf) || |
| Name | Publishable | Version |
| -------------------------------------------------------------------------------------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------- |
| [create-chakra-icons](https://github.com/kodingdotninja/chakra-icons/tree/main/packages/create-chakra-icons) || [![npm version](https://badge.fury.io/js/create-chakra-icons.svg)](https://www.npmjs.com/package/create-chakra-icons) |
| [@chakra-icons/bootstrap](https://github.com/kodingdotninja/chakra-icons/tree/main/packages/@chakra-icons/bootstrap) || [![npm version](https://badge.fury.io/js/@chakra-icons%2Fbootstrap.svg)](https://www.npmjs.com/package/@chakra-icons/bootstrap) |
| [@chakra-icons/cli](https://github.com/kodingdotninja/chakra-icons/tree/main/tooling/cli) || [![npm version](https://badge.fury.io/js/@chakra-icons%2Fcli.svg)](https://www.npmjs.com/package/@chakra-icons/cli) |
| [@tooling/tsconfig](https://github.com/kodingdotninja/chakra-icons/tree/main/tooling/ts.conf) || |
| [@tooling/msrconfig](https://github.com/kodingdotninja/chakra-icons/tree/main/tooling/msr.conf) || |

## Contribution

Expand Down
1 change: 1 addition & 0 deletions packages/@chakra-icons/bootstrap/.releaserc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require("@tooling/msrconfig")
26 changes: 26 additions & 0 deletions packages/@chakra-icons/bootstrap/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
## How To

### Installation

```console
yarn add @chakra-icons/bootstrap
```

**OR use NPM**

```console
npm install --save-dev @chakra-icons/bootstrap
```

### Usage

```jsx
import { IconName } from "@chakra-icons/bootstrap";
const App = () => (
<div>
<IconName boxSize="md" color="blue" />
</div>
);
```

You just need to change `IconName` with the specific icon name that we are provided, See [List Available Icons](https://github.com/kodingdotninja/chakra-icons/tree/main/packages/@chakra-icons/bootstrap/snapshot.json).
41 changes: 41 additions & 0 deletions packages/@chakra-icons/bootstrap/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"name": "@chakra-icons/bootstrap",
"version": "0.0.0",
"homepage": "https://github.com/kodingdotninja/chakra-icons/tree/main/packages/@chakra-icons/bootstrap",
"repository": {
"type": "git",
"url": "https://github.com/kodingdotninja/chakra-icons"
},
"keywords": [
"chakra-ui",
"react",
"react-icons",
"chakra-icons",
"bootstrap"
],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist/",
"src/"
],
"scripts": {
"build": "chakra-icons build -r 'https://github.com/twbs/icons' -n bootstrap -i icons -S snapshot.json -E",
"clean": "chakra-icons clean -r 'https://github.com/twbs/icons' -n bootstrap -i icons",
"postbuild": "tsup"
},
"devDependencies": {
"@chakra-ui/react": "^1",
"@chakra-icons/cli": "*",
"@tooling/tsconfig": "*",
"tsup": "^5"
},
"peerDependencies": {
"@chakra-ui/react": ">=1"
},
"license": "MIT",
"publishConfig": {
"access": "public"
}
}

0 comments on commit 02de6cf

Please sign in to comment.