Skip to content

Commit d8300a0

Browse files
committed
feat: new component button
1 parent 7ef6a97 commit d8300a0

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@
2121

2222
### React Native
2323

24-
`#npm
25-
npm install @bsdaoquang/rncomponent react-native-svg
24+
#npm
25+
npm install @bsdaoquang/rncomponent react-native-svg
2626

27-
#yarn
28-
yarn add @bsdaoquang/rncomponent react-native-svg`
27+
#yarn
28+
yarn add @bsdaoquang/rncomponent react-native-svg
2929

3030
**iOS**
3131
cd ios
3232
pod install
3333

3434
### Expo
3535

36-
#npm
37-
npx expo install @bsdaoquang/rncomponent react-native-svg
36+
#npm
37+
npx expo install @bsdaoquang/rncomponent react-native-svg
3838

3939
## Usage
4040

@@ -58,3 +58,4 @@ pod install
5858
- [Home page](https://rncomponent.com)
5959
- [Card](https://rncomponent.com/components/card)
6060
- [Text](https://rncomponent.com/components/text)
61+
- [Button](https://rncomponent.com/components/button)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bsdaoquang/rncomponent",
3-
"version": "0.0.5",
3+
"version": "0.0.6",
44
"description": "UI library for react native",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

src/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { numberToString } from './utils/numberToString';
1111
import { replaceHtmlTags } from './utils/replaceHtmlTags';
1212
import { replaceName } from './utils/replaceName';
1313
import Text from './components/Text';
14+
import Button from './components/Button';
1415

1516
export {
1617
CheckboxItem,
@@ -26,4 +27,5 @@ export {
2627
Section,
2728
Card,
2829
Text,
30+
Button,
2931
};

0 commit comments

Comments
 (0)