Skip to content

Commit

Permalink
refactor: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
quanho committed Mar 18, 2023
1 parent de7cf0a commit 68edd0e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ const Title = styled(Typography)(({ theme }) => ({

const StyledInput = styled(InputBase)(({ theme }) => ({
color: theme.listBox?.title?.main?.color,
fontSize: theme.listBox?.title?.main?.fontSize,
fontFamily: theme.listBox?.title?.main?.fontFamily,
fontSize: theme.listBox?.title?.main?.fontSize ?? theme.typography.h6.fontSize,
fontFamily: theme.listBox?.title?.main?.fontFamily ?? theme.typography.h6.fontFamily,
fontWeight: theme.listBox?.title?.main?.fontWeight ?? theme.typography.h6.fontWeight,
}));

export default function EditableTitle({ layout, model }) {
Expand Down

0 comments on commit 68edd0e

Please sign in to comment.