Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spacer issue #46

Open
asabhaney opened this issue Sep 12, 2019 · 0 comments
Open

Spacer issue #46

asabhaney opened this issue Sep 12, 2019 · 0 comments
Assignees

Comments

@asabhaney
Copy link
Member

eg

      <View float="left" width="100%" padding="30px">
         <Formik
            onSubmit={handleCreateInitiative}
            render={({ isSubmitting }) => (
               <Form>
                  <Input
                     name="name"
                     size="xl"
                     placeholder="New Initiative Name"
                  />
                  <Spacer size="4" />
                  <Select name="typeId" size="xl">
                     {organization.initiativeTypes.filter(type => type.enabled).map(type => (
                        <option key={type.id} value={type.id}>{type.nameSingular}</option>
                     ))}
                  </Select>
                  <Spacer size="12" />
                  <Button size="xl" name="Create" type="submit" mode={isSubmitting ? 'loading' : 'normal'} />
               </Form>
            )}
         />
      </View>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants