Skip to content

Commit

Permalink
readme.md changes for phonebook and CopyToClipBoard
Browse files Browse the repository at this point in the history
  • Loading branch information
opensrc0 committed Mar 26, 2024
1 parent 7bd37b6 commit a6d1bd7
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions __app/component/PhoneBook/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,14 @@

#### b) Passing contactProperty pros to the PhoneBook Component
```js
<PhoneBook
contactProperty={['name', 'email', 'tel', 'address', 'icon']},
/>
<PhoneBook contactProperty={['name', 'email', 'tel', 'address', 'icon']} />
```
> [!Note]
> Prop contactProperty will be an array and it can contains 5 value. These 5 value are optional, you can pass either the single/two/three/four/five values.
#### c) Passing isSelectMultiple pros to the PhoneBook Component
```js
<PhoneBook
isSelectMultiple={true}
/>
<PhoneBook isSelectMultiple={true} />
```
> [!Note]
> You can select multiple phone numbers from phonebook directory.
Expand All @@ -27,9 +23,7 @@
#### d) Passing child

```js
<PhoneBook>
Pass PhoneBook Icon here
</PhoneBook>
<PhoneBook>Pass PhoneBook Icon here</PhoneBook>
```

## 2. Success: successCb callBack Fn along with success msg
Expand Down

0 comments on commit a6d1bd7

Please sign in to comment.