Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
feat: update styling of property pane (#436)
Browse files Browse the repository at this point in the history
* feat(component): update styling of string property
* feat(component): update styling of boolean property
* feat(component): update styling of enum property
  • Loading branch information
tilmx authored and marionebl committed May 24, 2018
1 parent c7fc62a commit 0026521
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions src/components/property-items/string-item/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,14 @@ export const StringItem: React.StatelessComponent<StringItemProps> = props => {

return (
<StyledStringItem className={className}>
<label>
<PropertyLabel label={label} />
<StyledInput
onChange={onChange}
onBlur={onBlur}
type="text"
value={value || ''}
placeholder="Type in"
/>
</label>
<PropertyLabel label={label} />
<StyledInput
onChange={onChange}
onBlur={onBlur}
type="text"
value={value || ''}
placeholder="…"
/>
</StyledStringItem>
);
};
Expand Down

0 comments on commit 0026521

Please sign in to comment.