diff --git a/docs/docs/components/custom.mdx b/docs/docs/components/custom.mdx index faf46cac5..e2bcab798 100644 --- a/docs/docs/components/custom.mdx +++ b/docs/docs/components/custom.mdx @@ -30,7 +30,7 @@ The class can have a [_`build_config`_](focus://8) instance method, which is use The [_`build_config`_](focus://8) method should always return a dictionary with specific keys representing the field names and their corresponding configurations. It must follow the format described below: -The top level keys are the field names. +The top-level keys are the field names. Their values are of type _`dict`_ with any of the following keys (all of them are **optional**): @@ -48,10 +48,6 @@ Their values are of type _`dict`_ with any of the following keys (all of them ar | _`info: str`_ | To add a tooltip to the field | | _`file_types: List[str]`_ | This is a requirement if the _`field_type`_ is file. Defines which file types will be accepted. For example, json, yaml or yml | -Now we can load the flow using the _`load_flow`_ method. - -The _`tweaks`_ parameter is a dictionary that allows you to customize the flow. - The CustomComponent class provides the following methods: | Method name | Description |