From 80e9660d2e4f25b5d4d834926b27755bfdac913a Mon Sep 17 00:00:00 2001 From: Evis Drenova Date: Mon, 13 Nov 2023 13:09:32 -0800 Subject: [PATCH] random bool transformer docs --- docs/docs/transformers/system/random-bool.mdx | 40 +++++++++++++++++++ docs/sidebars.js | 5 +++ docs/src/theme/DocSidebarItem/Link/index.js | 4 +- 3 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 docs/docs/transformers/system/random-bool.mdx diff --git a/docs/docs/transformers/system/random-bool.mdx b/docs/docs/transformers/system/random-bool.mdx new file mode 100644 index 0000000000..c027452fa2 --- /dev/null +++ b/docs/docs/transformers/system/random-bool.mdx @@ -0,0 +1,40 @@ +--- +title: Random Boolean +id: random-bool +hide_title: true +slug: /transformers/system/random-bool +--- + +import { TransformerPageHeader } from '@site/src/CustomComponents/TransformerPageHeader.tsx'; + +import { DocsTable } from '@site/src/CustomComponents/DocsTable.tsx'; + + + +## Definition + +The random boolean transformer randomly generates a boolean value. + +## Configurations + +There are no configurations for the random boolean transformer. + +## Examples + +Here are some examples of what an output random boolean value may look like. + + diff --git a/docs/sidebars.js b/docs/sidebars.js index 0b6d5eeed6..7d535aaa82 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -176,6 +176,11 @@ const sidebars = { id: 'transformers/system/ssn', label: 'SSN', }, + { + type: 'doc', + id: 'transformers/system/random-bool', + label: 'Random Boolean', + }, ], }, { diff --git a/docs/src/theme/DocSidebarItem/Link/index.js b/docs/src/theme/DocSidebarItem/Link/index.js index 3b81196ad4..c0a0d8480c 100644 --- a/docs/src/theme/DocSidebarItem/Link/index.js +++ b/docs/src/theme/DocSidebarItem/Link/index.js @@ -30,7 +30,7 @@ import { GrMysql } from 'react-icons/gr'; import { IoBuildOutline } from 'react-icons/io5'; import { MdPassword } from 'react-icons/md'; import { PiArrowsSplitLight, PiFlaskLight } from 'react-icons/pi'; -import { RxAvatar } from 'react-icons/rx'; +import { RxAvatar, RxComponentBoolean } from 'react-icons/rx'; import { SiKubernetes } from 'react-icons/si'; import styles from './styles.module.css'; @@ -140,6 +140,8 @@ export const RenderIcon = (name) => { return ; case 'Gender': return ; + case 'Random Boolean': + return ; default: return ; }