Skip to content

Commit

Permalink
Merge pull request #4 from immayurpanchal/input_numbers
Browse files Browse the repository at this point in the history
feat: ✨ Change Textfield type to number
  • Loading branch information
saviomartin committed Aug 3, 2021
2 parents 82c4719 + 6783822 commit 552d7cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/utils/IconsPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ const IconsPicker = ({ data, setData }) => {
<p className="text-xs text-[#666] dark:text-[#bbb] my-3">Icon Size</p>
<TextField
label="Font Size"
type="number"
variant="outlined"
size="small"
value={data.icon.fontSize}
Expand Down
2 changes: 2 additions & 0 deletions components/utils/TextTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ const TextTab = ({ title, setTitle, name }) => {
<p className="text-xs text-[#666] dark:text-[#bbb] my-3">Font Size</p>
<TextField
label="Font Size"
type="number"
variant="outlined"
size="small"
value={title.fontSize}
Expand All @@ -96,6 +97,7 @@ const TextTab = ({ title, setTitle, name }) => {
<p className="text-xs text-[#666] dark:text-[#bbb] my-3">Line Height</p>
<TextField
label="Line Height"
type="number"
variant="outlined"
size="small"
value={title.lineHeight}
Expand Down

1 comment on commit 552d7cc

@vercel
Copy link

@vercel vercel bot commented on 552d7cc Aug 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.