Skip to content

Commit

Permalink
fix: delete typescript as peerdependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
castromaciel committed Feb 24, 2023
2 parents 44cc983 + ef4de7b commit 9079d6c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 20 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
ui-rc-components
</h1>

<p align='center'>
ui-rc-components is a set of UI components for React.
</p>
<p align='center'>ui-rc-components is a set of UI components for React.</p>

<div align='center'>

[![npm version](https://img.shields.io/npm/v/ui-rc-components?color=blue)](https://www.npmjs.com/package/ui-rc-components)
[![License](https://img.shields.io/npm/l/ui-rc-components)](./LICENSE)
[![downloads](https://img.shields.io/npm/dw/ui-rc-components)](https://www.npmjs.com/package/ui-rc-components)

</div>

Expand All @@ -25,14 +24,16 @@ or install with yarn
yarn add ui-rc-components
```

## Usage
Once the package is installed, you can import the library.

```ts
import { Example } from 'ui-rc-components';
```
## Usage

```tsx
<Example
label='Example label'
import { Avatar } from 'ui-rc-components';

<Avatar
image='https://picsum.photos/id/27/200/300'
label='Random image'
size='xl'
/>
```
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
},
"peerDependencies": {
"react": ">=16",
"react-dom": ">=16",
"typescript": ">=4.0.0"
"react-dom": ">=16"
},
"husky": {
"hooks": {
Expand Down
1 change: 1 addition & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export * from './_example'
export * from './structure'
export * from './utils'
9 changes: 0 additions & 9 deletions src/typinigs.d.ts

This file was deleted.

0 comments on commit 9079d6c

Please sign in to comment.