Skip to content

Commit

Permalink
yarn workspace framer build
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Aug 13, 2021
1 parent cf01dde commit e7d255a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions framer/Material-UI.framerfx/code/Button.tsx
Expand Up @@ -9,6 +9,7 @@ interface Props {
endIcon: string;
fullWidth: boolean;
href?: string;
inclusiveDisabled: boolean;
startIcon: string;
startIconTheme: 'Filled' | 'Outlined' | 'Rounded' | 'TwoTone' | 'Sharp';
endIconTheme: 'Filled' | 'Outlined' | 'Rounded' | 'TwoTone' | 'Sharp';
Expand Down Expand Up @@ -48,6 +49,7 @@ Button.defaultProps = {
disableElevation: false,
endIcon: undefined,
fullWidth: false,
inclusiveDisabled: disabled,
startIcon: undefined,
startIconTheme: 'Filled' as 'Filled',
endIconTheme: 'Filled' as 'Filled',
Expand Down Expand Up @@ -78,6 +80,10 @@ addPropertyControls(Button, {
type: ControlType.String,
title: 'Href',
},
inclusiveDisabled: {
type: ControlType.Boolean,
title: 'Inclusive disabled',
},
startIcon: {
type: ControlType.String,
title: 'Start icon',
Expand Down
6 changes: 6 additions & 0 deletions framer/Material-UI.framerfx/code/IconButton.tsx
Expand Up @@ -6,6 +6,7 @@ import { Icon } from './Icon';

interface Props extends MuiIconButtonProps {
disabled: boolean;
inclusiveDisabled: boolean;
icon: string;
iconTheme: 'Filled' | 'Outlined' | 'Rounded' | 'TwoTone' | 'Sharp';
badgeContent: string;
Expand All @@ -30,6 +31,7 @@ export function IconButton(props: Props): JSX.Element {

IconButton.defaultProps = {
disabled: false,
inclusiveDisabled: disabled,
icon: 'favorite',
iconTheme: 'Filled' as 'Filled',
badgeContent: '',
Expand All @@ -43,6 +45,10 @@ addPropertyControls(IconButton, {
type: ControlType.Boolean,
title: 'Disabled',
},
inclusiveDisabled: {
type: ControlType.Boolean,
title: 'Inclusive disabled',
},
icon: {
type: ControlType.String,
title: 'Icon',
Expand Down

0 comments on commit e7d255a

Please sign in to comment.