diff --git a/docs/theme.md b/docs/theme.md index 0f660da4a..45d079afd 100644 --- a/docs/theme.md +++ b/docs/theme.md @@ -95,7 +95,7 @@ import { Center, } from 'native-base'; function UseContrastingTextHook() { - const bgDark = 'primary.700'; + const bgDark = 'primary.600'; const bgLight = 'primary.200'; const colorContrastDark = useContrastText(bgDark); const colorContrastLight = useContrastText(bgLight); diff --git a/docs/utilityProps.md b/docs/utilityProps.md index cd460c337..adefc73eb 100644 --- a/docs/utilityProps.md +++ b/docs/utilityProps.md @@ -138,7 +138,7 @@ export function Example() { _text={{ color: "white", }} - shadow="3" + > Box 1 @@ -149,7 +149,6 @@ export function Example() { _text={{ color: "white", }} - shadow="3" > Box 2 @@ -160,7 +159,7 @@ export function Example() { _text={{ color: "white", }} - shadow="3" + shadow="1" > Box 3 @@ -200,7 +199,7 @@ function Component() { Merci Beaucoup { /* font-size `'2em'` */ } { /* font-weight of `theme.fontWeights.semibold i.e. 600` */ } - Danke sehr + Danke sehr { /* letter-spacing `0.1 em` */ } Arigatou @@ -359,9 +358,9 @@ const Box = (props) => { function Component() { return ( <> - + - + ); } @@ -375,7 +374,6 @@ export default function () { ); } - ```
@@ -459,16 +457,16 @@ import React from 'react'; import { Box as NBBox, NativeBaseProvider, Center } from 'native-base'; const Box = (props) => { - return -} + return ; +}; function Component() { return ( - <> - - - - + + + + + ); } export default function () { @@ -480,7 +478,6 @@ export default function () { ); } - ```