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

[docs] Minor CSP edit #10089

Merged
merged 1 commit into from Jan 29, 2018
Merged

Conversation

oliviertassinari
Copy link
Member

No description provided.

@oliviertassinari oliviertassinari added the docs Improvements or additions to the documentation label Jan 29, 2018
With this API, you prevent invalid combination from being used, you bound the number of properties you expose, and you can easily support new values in the future.

```tsx
type Props = {
type: 'flat' | 'raised' | 'fab';
variant: 'flat' | 'raised' | 'fab';
Copy link
Member Author

Choose a reason for hiding this comment

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

type is already a native property on the <input> and <button> elements.
We would rather avoid the naming conflict.

@oliviertassinari oliviertassinari merged commit 42a0e1d into mui:v1-beta Jan 29, 2018
@oliviertassinari oliviertassinari deleted the csp-minor-edit branch January 29, 2018 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants