mirror of
https://github.com/penpot/penpot.git
synced 2026-03-20 17:33:44 +00:00
💄 Fix JS files formatting issues
This commit is contained in:
@@ -44,7 +44,7 @@ export default {
|
||||
property: "search",
|
||||
},
|
||||
parameters: {
|
||||
controls: { exclude: [ "tokens" ] },
|
||||
controls: { exclude: ["tokens"] },
|
||||
},
|
||||
render: ({ ...args }) => <NumericInput {...args} />,
|
||||
};
|
||||
|
||||
@@ -27,17 +27,17 @@ export default {
|
||||
variant: "S",
|
||||
selected: false,
|
||||
},
|
||||
render: ({name, url, ...args }) => {
|
||||
render: ({ name, url, ...args }) => {
|
||||
const profile = {
|
||||
id: "00000000-0000-0000-0000-000000000000",
|
||||
fullname: name
|
||||
fullname: name,
|
||||
};
|
||||
if (url) {
|
||||
profile.photoUrl = url;
|
||||
};
|
||||
}
|
||||
|
||||
return <Avatar profile={profile} {...args} />;
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
export const Default = {};
|
||||
|
||||
@@ -38,10 +38,16 @@ export default {
|
||||
active: false,
|
||||
editing: false,
|
||||
},
|
||||
render: ({ profileName, profileAvatar, profileColor, createdAt, ...args }) => {
|
||||
render: ({
|
||||
profileName,
|
||||
profileAvatar,
|
||||
profileColor,
|
||||
createdAt,
|
||||
...args
|
||||
}) => {
|
||||
const profile = {
|
||||
id: "00000000-0000-0000-0000-000000000000",
|
||||
fullname: profileName
|
||||
fullname: profileName,
|
||||
};
|
||||
|
||||
if (profileAvatar) {
|
||||
|
||||
@@ -27,7 +27,7 @@ export default {
|
||||
args: {
|
||||
label: "Milestone 1",
|
||||
active: false,
|
||||
snapshots: [1737452413841, 1737452422063, 1737452431603]
|
||||
snapshots: [1737452413841, 1737452422063, 1737452431603],
|
||||
},
|
||||
render: ({ ...args }) => {
|
||||
return <MilestoneGroup {...args} />;
|
||||
|
||||
Reference in New Issue
Block a user