Skip to content

Commit 3ffbd29

Browse files
Update README.md
1 parent 56f9eb9 commit 3ffbd29

File tree

1 file changed

+86
-0
lines changed

1 file changed

+86
-0
lines changed

README.md

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,92 @@ export const AppBodyLargeText: React.FC<PropsWithChildren> = ({children}) => {
212212
![linear activity indicator gif](https://ik.imagekit.io/Computools/rn-material-components/linear-indicator-gif.gif?updatedAt=1705066319092)
213213
</details>
214214
</details>
215+
<details><summary>Buttons</summary>
216+
<br />
217+
<details><summary>Common buttons</summary>
218+
<br />
219+
220+
**Components**
221+
222+
- ```TextButton```
223+
- ```FilledButton```
224+
- ```OutlinedButton```
225+
- ```ElevatedButton```
226+
- ```TonalButton```
227+
228+
**Properties**
229+
230+
| name | description | type | default |
231+
| ------ | ------ | ------ | ----|
232+
| title | required | string | - |
233+
| StartIcon | - | React.FC<T> | - |
234+
| EndIcon | - | React.FC<T> | - |
235+
| iconProps | - | T | - |
236+
| titleStyle | - | StyleProp<TextStyle | - |
237+
238+
![common buttons](https://ik.imagekit.io/Computools/rn-material-components/common_buttons.png?updatedAt=1730123562488)
239+
</details>
240+
<details><summary>Icon buttons</summary>
241+
<br />
242+
243+
**Components**
244+
245+
- ```StandartIconButton```
246+
- ```FilledIconButton```
247+
- ```OutlinedIconButton```
248+
- ```TonalIconButton```
249+
250+
**Properties**
251+
252+
| name | description | type | default |
253+
| ------ | ------ | ------ | ----|
254+
| Icon | required | React.FC<T> | - |
255+
| size | - | number | - |
256+
| selectedIcon | - | React.FC<T> | - |
257+
| selected | - | boolean | false |
258+
| iconProps | - | T | - |
259+
260+
![icon buttons](https://ik.imagekit.io/Computools/rn-material-components/icon_buttons.png?updatedAt=1730123727799)
261+
</details>
262+
<details><summary>Floatin action button</summary>
263+
<br />
264+
265+
**Properties**
266+
267+
| name | description | type | default |
268+
| ------ | ------ | ------ | ----|
269+
| type | PRIMARY, SECONDARY, TERTIARY, SURRFACE | FloatingActionButtonType | PRIMARY |
270+
| label | - | string | - |
271+
| extended | Enables control over label visibility with animation. If set to true, the label remains constantly visible; otherwise, it appears or hides with an animation based on specific conditions | true | - |
272+
| size | SMALL, BIG | FloatingActionButtonSize | SMALL |
273+
| iconProps | - | T | - |
274+
| Icon | - | React.FC<T> | - |
275+
| labelStyle | - | StyleProp<TextStyle> | - |
276+
277+
![fab](https://ik.imagekit.io/Computools/rn-material-components/fab.gif?updatedAt=1730123868550)
278+
</details>
279+
<details><summary>Segmented button</summary>
280+
<br />
281+
282+
**Properties**
283+
284+
| name | description | type | default |
285+
| ------ | ------ | ------ | ----|
286+
| segments | required | ButtonSegment<T, U>[] | - |
287+
| selected | required | T[] | - |
288+
| onSegmentPress | required |(value: T[] | ((currValues: T[]) => T[])) => void | - |
289+
| disabled | - | boolean | false |
290+
| multiSelectionEnabled | - | boolean | false |
291+
| withCheckmark | Enables control over checkmark visibility with selected segment. | boolean | true |
292+
| iconSize | - | number | 18 |
293+
| iconColor | - | ColorValue | - |
294+
| iconColor | - | ColorValue | - |
295+
| rippleColor | - | ColorValue | - |
296+
| labelStyle | - | StyleProp<TextStyle> | - |
297+
298+
![segmented buttons](https://ik.imagekit.io/Computools/rn-material-components/segmented_button_single.gif?updatedAt=1730123815131)
299+
</details>
300+
</details>
215301
<details><summary>Cards</summary>
216302
<br />
217303
<details><summary>Filled Card</summary>

0 commit comments

Comments
 (0)