Skip to content

Commit

Permalink
Remove padding props
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Jul 15, 2022
1 parent eac9d30 commit 8842de0
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/components/src/input-control/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import type { useDrag } from '@use-gesture/react';
import type { StateReducer } from './reducer/state';
import type { WordPressComponentProps } from '../ui/context';
import type { FlexProps } from '../flex/types';
import type { SpacerProps } from '../spacer';

export type LabelPosition = 'top' | 'bottom' | 'side' | 'edge';

Expand Down Expand Up @@ -210,21 +209,11 @@ export type InputControlPrefixProps = {
* The prefix to be inserted.
*/
children: ReactNode;
/**
* The padding to be applied before the prefix.
* Defaults to the standard padding for the size variant.
*/
paddingLeft?: SpacerProps[ 'paddingLeft' ];
};

export type InputControlSuffixProps = {
/**
* The suffix to be inserted.
*/
children: ReactNode;
/**
* The padding to be applied after the suffix.
* Defaults to the standard padding for the size variant.
*/
paddingRight?: SpacerProps[ 'paddingRight' ];
};

0 comments on commit 8842de0

Please sign in to comment.