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

Add Select component #46

Closed
nihaals opened this issue Mar 7, 2021 · 1 comment · Fixed by #8
Closed

Add Select component #46

nihaals opened this issue Mar 7, 2021 · 1 comment · Fixed by #8

Comments

@nihaals
Copy link
Member

nihaals commented Mar 7, 2021

This includes:

  • Multiselect support
  • Search

There is more info in #8 and #8 (comment).

Types

type SelectOption = {
  label: string;
  value: string;
};

interface SelectProps {
  options: SelectOption[];
  disabled?: boolean;
  multiSelect?: boolean;
  search?: boolean;
  name: string;
}

Defaults

Prop Default value
disabled false
multiSelect false
search true
@nihaals
Copy link
Member Author

nihaals commented Apr 4, 2021

Added with #8

@nihaals nihaals closed this as completed Apr 4, 2021
@nihaals nihaals linked a pull request Jul 2, 2021 that will close this issue
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant