From 5180497c9005e06ea035a922aedc0df22b668d36 Mon Sep 17 00:00:00 2001 From: Harley White Date: Tue, 7 Sep 2021 23:28:26 -0400 Subject: [PATCH] Added missing components to docs --- changelog.md | 4 ++++ docs/custom-tab-layouts.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/changelog.md b/changelog.md index 896b8cd..bfe6703 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # The Modding Tree changelog: + +- Added display-image, h-line, and v-line to documentation. + + # v2.6.5.1 - 7/13/21 - Fixed offline production more. diff --git a/docs/custom-tab-layouts.md b/docs/custom-tab-layouts.md index 3f3acf4..a20727d 100644 --- a/docs/custom-tab-layouts.md +++ b/docs/custom-tab-layouts.md @@ -27,6 +27,10 @@ These are the existing components, but you can create more in [components.js](/j - display-text: Displays some text (can use basic HTML). The argument is the text to display. It can also be a function that returns updating text. +- display-image: Displays an image. The argument is the url of the image. + +- h-line, v-line: Display a horizontal or vertical divider line, respectively. + - raw-html: Displays some basic HTML, can also be a function. - blank: Adds empty space. The default dimensions are 8px x 17px. The argument changes the dimensions. If it's a single value (e.g. "20px"), that determines the height. If you have a pair of arguments, the first is width and the second is height.