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

feat(react): add Select component #59

Merged
merged 1 commit into from
Mar 13, 2023
Merged

Conversation

savindi7
Copy link
Contributor

@savindi7 savindi7 commented Mar 8, 2023

Purpose

Add Select component.

Screenshot 2023-03-08 at 14 31 36

Related Issues

Related PRs

  • None

Checklist

  • UX/UI review done on the final implementation.
  • Story provided. (Add screenshots)
  • Manual test round performed and verified.
  • Unit tests provided. (Add links if there are any)
  • Documentation provided. (Add links if there are any)

Security checks

import InputLabel, {InputLabelProps as MuiInputLabelProps} from '../InputLabel';
import './select.scss';

export interface SelectProps extends MuiSelectProps {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this component polymorphic?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no component prop to make this component take the form of a different Component element.

import './select.scss';

export interface SelectProps extends MuiSelectProps {
InputLabelProps?: MuiInputLabelProps;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we making this prop optional here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes. the props already passed satisfies the basic functionality

@savindi7 savindi7 merged commit f96d874 into wso2:main Mar 13, 2023
@savindi7 savindi7 mentioned this pull request Mar 13, 2023
73 tasks
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

Successfully merging this pull request may close these issues.

3 participants