Skip to contents

This function creates the necessary R, Rust, and TypeScript files for a new input or output component based on a generic template.

Usage

new_input_component(component_name, path = ".")

new_output_component(component_name, path = ".")

Arguments

component_name

The name for the new component (e.g., "my_slider"). This will be converted to snake_case and CamelCase where needed.

path

Path to the root of the R package. Default is the current directory.