From 7fa67b74bd5cdd2ff4fdae1b4170fded52507007 Mon Sep 17 00:00:00 2001 From: Asttle <64640283+asttle@users.noreply.github.com> Date: Tue, 10 Oct 2023 17:06:28 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2c55b17..f004e21 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A zero-dependency lightweight clean conditional rendering component for React. -It works similar to if-else and switch case. If first condition gets true in the children tree, then only that one will be executed. An optional props `limit` will allow to limit the number of true conditions to render at a time. By default `limit` is 1. There is another optional props `isTrue` in ReactWhen which allows you to set condition for entire parent conditional component. +It works similar to if-else and switch case. If first condition gets true in the children tree, then only that one will be executed. An optional props `limit` will allow to limit the number of true conditions to render at a time. By default `limit` is 1. There is another optional props `isTrue` in RenderWhen which allows you to set condition for entire parent conditional component. ## RenderWhen Component