From c35b8b664b79cd0e5d086f75b281176b10b61125 Mon Sep 17 00:00:00 2001 From: Micah Engle-Eshleman Date: Wed, 1 Nov 2023 22:27:36 -0700 Subject: [PATCH] Add badges --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 0093b89..d6bf6b6 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ A tiny library that makes it easy to define conditional logic in one place and expose it in components for conditional rendering, smarter validation & only submitting visible values. +[![npm](https://img.shields.io/npm/v/rhf-conditional-logic.svg)](https://www.npmjs.com/package/rhf-conditional-logic) +[![minzip](https://img.shields.io/bundlephobia/minzip/rhf-conditional-logic.svg)](https://www.npmjs.com/package/rhf-conditional-logic) +![types](https://img.shields.io/badge/types-typescript-blueviolet) + ## Features - Define conditional logic (whether to show/hide field) in a single typed config object