|
2 | 2 |
|
3 | 3 | Computools react native material components package |
4 | 4 |
|
| 5 | +?node-id=47909-2&p=f&t=Fo0xFwhmWhLMqS8Z-0) |
| 6 | +?node-id=2402-2207&node-type=canvas&t=xqHD7AwdyHpKWsur-0) |
| 7 | + |
5 | 8 | ## Installation |
6 | 9 |
|
7 | 10 | 1. ```yarn add @computools/react-native-material-components``` |
@@ -484,6 +487,88 @@ Outlined card is touchable. |
484 | 487 |  |
485 | 488 | </details> |
486 | 489 | </details> |
| 490 | +<details><summary>Chips</summary> |
| 491 | +<br /> |
| 492 | +<details><summary>Assist Chip</summary> |
| 493 | +<br /> |
| 494 | + |
| 495 | +**Properties** |
| 496 | + |
| 497 | +| name | description | type | default | |
| 498 | +| ------ | ------ | ------ | ---- | |
| 499 | +| label | required | string | - | |
| 500 | +| elevated | - | boolean | false | |
| 501 | +| LeadingIcon | - | React.FC | - | |
| 502 | +| TrailingIcon | - | React.FC | - | |
| 503 | +| leadingIconType | COMMON, FAVICON or BRANDED | IconType | COMMON | |
| 504 | +| trailingIconType | COMMON, FAVICON or BRANDED | IconType | COMMON | |
| 505 | +| leadingIconProps | - | T | - | |
| 506 | +| trailingIconProps | - | T | - | |
| 507 | +| iconSize | - | number | 18 | |
| 508 | +| labelStyle | - | TextStyle | - | |
| 509 | + |
| 510 | + |
| 511 | + |
| 512 | +</details> |
| 513 | +<details><summary>Filter Chip</summary> |
| 514 | +<br /> |
| 515 | + |
| 516 | +**Properties** |
| 517 | + |
| 518 | +| name | description | type | default | |
| 519 | +| ------ | ------ | ------ | ---- | |
| 520 | +| label | required | string | - | |
| 521 | +| selected | - | boolean | false | |
| 522 | +| elevated | - | boolean | false | |
| 523 | +| loading | Provide loading to show circle activity indicator instead of leading icon on loading | boolean |false | |
| 524 | +| LeadingIcon | - | React.FC | - | |
| 525 | +| TrailingIcon | - | React.FC | - | |
| 526 | +| leadingIconProps | - | T | - | |
| 527 | +| trailingIconProps | - | T | - | |
| 528 | +| iconSize | - | number | 18 | |
| 529 | +| activityIndicatorSize | - | number | 38 | |
| 530 | + |
| 531 | + |
| 532 | + |
| 533 | +</details> |
| 534 | +<details><summary>Input Chip</summary> |
| 535 | +<br /> |
| 536 | + |
| 537 | +**Properties** |
| 538 | + |
| 539 | +| name | description | type | default | |
| 540 | +| ------ | ------ | ------ | ---- | |
| 541 | +| label | required | string | - | |
| 542 | +| selected | - | boolean | false | |
| 543 | +| imageUrl | Provide a url to show leading image. | string | - | |
| 544 | +| LeadingIcon | - | React.FC | - | |
| 545 | +| TrailingIcon | - | React.FC | - | |
| 546 | +| leadingIconProps | - | T | - | |
| 547 | +| trailingIconProps | - | T | - | |
| 548 | +| iconSize | - | number | 18 | |
| 549 | +| hasDefaultTrailingIcon | - | boolean | true | |
| 550 | + |
| 551 | + |
| 552 | + |
| 553 | +</details> |
| 554 | +<details><summary>Suggestion Chip</summary> |
| 555 | +<br /> |
| 556 | + |
| 557 | +**Properties** |
| 558 | + |
| 559 | +| name | description | type | default | |
| 560 | +| ------ | ------ | ------ | ---- | |
| 561 | +| label | required | string | - | |
| 562 | +| selected | - | boolean | false | |
| 563 | +| elevated | - | boolean | false | |
| 564 | +| LeadingIcon | - | React.FC | - | |
| 565 | +| TrailingIcon | - | React.FC | - | |
| 566 | +| leadingIconProps | - | T | - | |
| 567 | +| trailingIconProps | - | T | - | |
| 568 | + |
| 569 | + |
| 570 | +</details> |
| 571 | +</details> |
487 | 572 | <details><summary>Controls</summary> |
488 | 573 | <br /> |
489 | 574 |
|
|
0 commit comments