diff --git a/docs/ignite-cli/_category_.json b/docs/ignite-cli/_category_.json index d5208722..38fcbc41 100644 --- a/docs/ignite-cli/_category_.json +++ b/docs/ignite-cli/_category_.json @@ -1,8 +1,8 @@ { - "label": "Ignite", + "label": "ignite-cli", "link": null, "customProps": { - "description": "Infinite Red's hottest boilerplate for React Native.", + "description": "", "projectName": "ignite-cli", "sidebar": { "type": "autogenerated", diff --git a/docs/ignite-cli/boilerplate/app/components/AutoImage.md b/docs/ignite-cli/boilerplate/app/components/AutoImage.md index b53d6aa5..14975e34 100644 --- a/docs/ignite-cli/boilerplate/app/components/AutoImage.md +++ b/docs/ignite-cli/boilerplate/app/components/AutoImage.md @@ -6,9 +6,15 @@ sidebar_position: 30 Ignite's `AutoImage` Component is an enhanced version of the built-in React Native [Image](https://reactnative.dev/docs/image) component. It automatically resizes the image view to fit a max width or height constraint +![autoimage](../../../../../static/img/autoimage-component.png) + +# Usage + ```tsx ``` @@ -16,7 +22,7 @@ Ignite's `AutoImage` Component is an enhanced version of the built-in React Nati `AutoImage` uses a `useAutoImage` hook to calculate the image's dimensions when you have a specific values you need to constrain the image within. This hook is also available for use in your own components. ```tsx -const { width, height } = useAutoImage(uri, maxWidth, maxHeight) +const { width, height } = useAutoImage(uri, maxWidth, maxHeight); ``` ## Props @@ -29,7 +35,9 @@ These props are used to constrain the image to a specific size. Use `maxWidth` o ```tsx diff --git a/docs/ignite-cli/boilerplate/app/components/Button.md b/docs/ignite-cli/boilerplate/app/components/Button.md index 458bfa82..585f5f7e 100644 --- a/docs/ignite-cli/boilerplate/app/components/Button.md +++ b/docs/ignite-cli/boilerplate/app/components/Button.md @@ -6,6 +6,10 @@ sidebar_position: 31 The `Button` component is a wrapper around the [`Pressable`](https://reactnative.dev/docs/pressable) component. Any prop that can be passed to `Pressable` can be passed to `Button` and it will be forwarded. `Button` renders a button with given text in a [`Text`](./Text.md) component or children. It allows you to specify the preset style of the button, you can override both the `Pressable` and `Text` styles. +![button](../../../../../static/img/button-component.png) + +# Usage + ```tsx