Skip to content

Units library #56

@CrispyBacon1999

Description

@CrispyBacon1999

Description

Create (or find) a library for handling unit conversions. This will prevent units from being converted more than once, and gives a straight up value that can be used to pass in properties to components.

Example

const robotWidth: Distance = Units.inches(32);

const robotWidthMeters = robotWidth.meters;

return <RobotRepresentation width={robotWidth} />

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions