From c90a6d53625dcfa29b1d43fabf30b5e9a5fab889 Mon Sep 17 00:00:00 2001 From: Josh Pollock Date: Thu, 26 Jul 2018 14:21:04 -0400 Subject: [PATCH] docs for button field groups #19 --- manual/components.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/manual/components.md b/manual/components.md index 368123d..5ba1661 100644 --- a/manual/components.md +++ b/manual/components.md @@ -207,6 +207,35 @@ If the prop `type` is input, the type of input is controlled by the `inputType` /> ``` +### Submit Button Field Group +```js + { + //do stuff when clicked + }} +/> + +``` + +### Button Field Group +```js + { + //do stuff when clicked + }} +/> + + ### Select Field Groups Select field groups happen when you pass "select" to the `type` prop. @@ -235,6 +264,7 @@ let selectFieldValue = ''; } ]} /> +``` ## Magic Select Groups Magic select groups use `MagicSelect` fields, which wrap [reactjs/react-autocomple](https://github.com/reactjs/react-autocomplete) to create a UI for [Caldera Forms magic tags](https://calderaforms.com/doc/using-magic-tags-caldera-forms/).