Skip to content

Commit

Permalink
Use generic word for describing componentsProps
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjORbj committed Aug 31, 2022
1 parent 01478a1 commit 0aab11b
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion packages/mui-joy/src/AspectRatio/AspectRatioProps.ts
Expand Up @@ -26,7 +26,7 @@ export interface AspectRatioTypeMap<P = {}, D extends React.ElementType = 'div'>
*/
children?: React.ReactNode;
/**
* The props used for each slot inside the AspectRatio.
* The props used for each slot inside the component.
* @default {}
*/
componentsProps?: ComponentsProps;
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Avatar/AvatarProps.ts
Expand Up @@ -28,7 +28,7 @@ export interface AvatarTypeMap<P = {}, D extends React.ElementType = 'div'> {
*/
children?: React.ReactNode;
/**
* The props used for each slot inside the Input.
* The props used for each slot inside the component.
* @default {}
*/
componentsProps?: ComponentsProps;
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Badge/Badge.tsx
Expand Up @@ -262,7 +262,7 @@ Badge.propTypes /* remove-proptypes */ = {
*/
component: PropTypes.elementType,
/**
* The props used for each slot inside the Badge.
* The props used for each slot inside the component.
* @default {}
*/
componentsProps: PropTypes.shape({
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Badge/BadgeProps.ts
Expand Up @@ -45,7 +45,7 @@ export interface BadgeTypeMap<D extends React.ElementType = 'span', P = {}> {
*/
children?: React.ReactNode;
/**
* The props used for each slot inside the Badge.
* The props used for each slot inside the component.
* @default {}
*/
componentsProps?: ComponentsProps;
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Breadcrumbs/Breadcrumbs.tsx
Expand Up @@ -187,7 +187,7 @@ Breadcrumbs.propTypes /* remove-proptypes */ = {
*/
component: PropTypes.elementType,
/**
* The props used for each slot inside the Breadcrumbs.
* The props used for each slot inside the component.
* @default {}
*/
componentsProps: PropTypes.shape({
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Breadcrumbs/BreadcrumbsProps.ts
Expand Up @@ -21,7 +21,7 @@ export interface BreadcrumbsTypeMap<P = {}, D extends React.ElementType = 'nav'>
*/
children?: React.ReactNode;
/**
* The props used for each slot inside the Breadcrumbs.
* The props used for each slot inside the component.
* @default {}
*/
componentsProps?: ComponentsProps;
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Button/Button.tsx
Expand Up @@ -238,7 +238,7 @@ Button.propTypes /* remove-proptypes */ = {
*/
component: PropTypes.elementType,
/**
* The props used for each slot inside the Button.
* The props used for each slot inside the component.
* @default {}
*/
componentsProps: PropTypes.shape({
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Button/ButtonProps.ts
Expand Up @@ -36,7 +36,7 @@ export interface ButtonTypeMap<P = {}, D extends React.ElementType = 'button'> {
*/
color?: OverridableStringUnion<ColorPaletteProp, ButtonPropsColorOverrides>;
/**
* The props used for each slot inside the Button.
* The props used for each slot inside the component.
* @default {}
*/
componentsProps?: ComponentsProps;
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Checkbox/CheckboxProps.ts
Expand Up @@ -33,7 +33,7 @@ export interface CheckboxTypeMap<P = {}, D extends React.ElementType = 'span'> {
*/
className?: string;
/**
* The props used for each slot inside the Input.
* The props used for each slot inside the component.
* @default {}
*/
componentsProps?: ComponentsProps;
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Chip/ChipProps.ts
Expand Up @@ -28,7 +28,7 @@ export interface ChipTypeMap<P = {}, D extends React.ElementType = 'div'> {
*/
children?: React.ReactNode;
/**
* The props used for each slot inside the Input.
* The props used for each slot inside the component.
* @default {}
*/
componentsProps?: ComponentsProps;
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/FormLabel/FormLabelProps.ts
Expand Up @@ -17,7 +17,7 @@ export interface FormLabelTypeMap<P = {}, D extends React.ElementType = 'label'>
*/
children?: React.ReactNode;
/**
* The props used for each slot inside the Input.
* The props used for each slot inside the component.
* @default {}
*/
componentsProps?: ComponentsProps;
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Input/InputProps.ts
Expand Up @@ -51,7 +51,7 @@ export interface InputTypeMap<P = {}, D extends React.ElementType = 'div'> {
*/
color?: OverridableStringUnion<ColorPaletteProp, InputPropsColorOverrides>;
/**
* The props used for each slot inside the Input.
* The props used for each slot inside the component.
* @default {}
*/
componentsProps?: ComponentsProps;
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Link/LinkProps.ts
Expand Up @@ -34,7 +34,7 @@ export interface LinkTypeMap<P = {}, D extends React.ElementType = 'a'> {
*/
color?: OverridableStringUnion<ColorPaletteProp, LinkPropsColorOverrides>;
/**
* The props used for each slot inside the Input.
* The props used for each slot inside the component.
* @default {}
*/
componentsProps?: ComponentsProps;
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Radio/RadioProps.ts
Expand Up @@ -38,7 +38,7 @@ export interface RadioTypeMap<P = {}, D extends React.ElementType = 'span'> {
*/
component?: React.ElementType;
/**
* The props used for each slot inside the Input.
* The props used for each slot inside the component.
* @default {}
*/
componentsProps?: ComponentsProps;
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Select/SelectProps.ts
Expand Up @@ -46,7 +46,7 @@ export interface SelectStaticProps extends SelectUnstyledCommonProps {
*/
color?: OverridableStringUnion<ColorPaletteProp, SelectPropsColorOverrides>;
/**
* The props used for each slot inside the Input.
* The props used for each slot inside the component.
* @default {}
*/
componentsProps?: ComponentsProps;
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Switch/SwitchProps.ts
Expand Up @@ -31,7 +31,7 @@ export interface SwitchTypeMap<P = {}, D extends React.ElementType = 'div'> {
*/
color?: OverridableStringUnion<ColorPaletteProp, SwitchPropsColorOverrides>;
/**
* The props used for each slot inside the Switch.
* The props used for each slot inside the component.
* @default {}
*/
componentsProps?: ComponentsProps;
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Textarea/TextareaProps.ts
Expand Up @@ -46,7 +46,7 @@ export interface TextareaTypeMap<P = {}, D extends React.ElementType = 'div'> {
*/
color?: OverridableStringUnion<ColorPaletteProp, TextareaPropsColorOverrides>;
/**
* The props used for each slot inside the Input.
* The props used for each slot inside the component.
* @default {}
*/
componentsProps?: ComponentsProps;
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Typography/TypographyProps.ts
Expand Up @@ -33,7 +33,7 @@ export interface TypographyTypeMap<P = {}, D extends React.ElementType = 'span'>
*/
color?: OverridableStringUnion<ColorPaletteProp, TypographyPropsColorOverrides>;
/**
* The props used for each slot inside the Input.
* The props used for each slot inside the component.
* @default {}
*/
componentsProps?: ComponentsProps;
Expand Down

0 comments on commit 0aab11b

Please sign in to comment.