Contact Us

We’re here to help! Fill out the form below and we'll do our best to get back to you within 3-5 days.

Unknown Component

Received request from Uniform to render a component with the public ID: form.

<UniformComposition /> does not have form mapped to a React component yet.

  • Create a React component and register it with Uniform, for example
    
    import {
      ComponentProps,
      UniformSlot,
    } from '@uniformdev/canvas-next-rsc/component';
    
    type FormParameters = {
      cssClass: string
      endpoint: string
      formName: string
      formIdentifier: string
      confirmationMessage: string
    };
    type FormSlots = 'formFields' | 'formButtons';
    type FormProps = ComponentProps<FormParameters, FormSlots>;
    
    export const FormComponent = (props: FormProps) => {
      return (
        <div>
          <div>
            <UniformSlot data={props.component} context={props.context} slot={props.slots.formFields} />
    <UniformSlot data={props.component} context={props.context} slot={props.slots.formButtons} />
          </div>
        </div>
      );
    };
    
    Add this component mapping to your resolveComponent function on UniformComposition.
  • Import the component into the file where <UniformComposition /> is defined, for example
    import "../../components/Form.tsx"

Need more help? Check out the documentation.

Give us a call

For faster response, please use the form above

Questions?

TTY:
711
Hours:
Monday – Friday, 8 a.m. – 8 p.m. EST.

Partners

Fitness Centers

SilverSneakers is the nation's leading fitness program designed for seniors reaching millions.

Submit your request here >

Questions?

TTY:
711
Hours:
Mon–Fri, 8 a.m.–8 p.m. EST.

Class Instructors

Help seniors achieve their health and wellness goals by teaching a SilverSneakers class.

Learn More >

Health Plans

Keep your senior members healthy by giving them access to thousands of participating fitness locations and numerous classes.

Learn More >

Media

For all media inquiries, please email us at media@tivityhealth.com