Skip to content

Commit

Permalink
fix: remvoe size from slider in framer motion
Browse files Browse the repository at this point in the history
  • Loading branch information
paales committed Jan 26, 2022
1 parent c72d5c5 commit c1108f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 0 additions & 7 deletions framer/Material-UI.framerfx/code/Slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ interface Props {
max?: number;
min?: number;
orientation?: 'horizontal' | 'vertical';
size: 'small' | 'medium';
step?: number;
tabIndex?: number;
track?: 'inverted' | 'normal' | false;
Expand All @@ -23,7 +22,6 @@ export function Slider(props: Props): JSX.Element {
}

Slider.defaultProps = {
size: 'medium' as 'medium',
width: 160,
height: 24,
};
Expand All @@ -50,11 +48,6 @@ addPropertyControls(Slider, {
title: 'Orientation',
options: ['horizontal', 'vertical'],
},
size: {
type: ControlType.Enum,
title: 'Size',
options: ['small', 'medium'],
},
step: {
type: ControlType.Number,
title: 'Step',
Expand Down
1 change: 1 addition & 0 deletions framer/scripts/framerConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ export const componentSettings = {
'sx',
// FIXME: `Union`
'color',
'size',
],
propValues: {
width: 160,
Expand Down

0 comments on commit c1108f6

Please sign in to comment.