Skip to content

Make sure that steps in readme are rendered on a condition of existance #21

@derberg

Description

@derberg

So basically if you have send operations then return step about example usage of generated send functions, otherwise you should not render those

Same with receive

Example, if you have this step:

<Text newLines={2}>
        4. Example functions on how to receive messages :
      </Text>

      <Text>
        ```python
      </Text>

      <Text>
        {receiveFunctionExample(receiveFunctions)}
      </Text>

      <Text>
        ```
      </Text>

probably best solution is to create a dedicated react component, and return it only on a condition that there really are receive functions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions