Skip to content

Commit ba8e7c3

Browse files
committed
docs: remove unnecessary colons from interface prop descriptions
Signed-off-by: kasey <kasey@dragonscale.ai>
1 parent 04a4546 commit ba8e7c3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/components/calendar/fCCalendar.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
events: {
99
control: 'object',
1010
description:
11-
'An array of objects. Each object has details for an event. \n<pre>```interface Event:{\n id: string\n allDay?: boolean\n start: string\n end?: string\n title: string\n}```</pre>',
11+
'An array of objects. Each object has details for an event. \n<pre>```interface Event {\n id: string\n allDay?: boolean\n start: string\n end?: string\n title: string\n}```</pre>',
1212
},
1313
initialView: {
1414
description:

src/components/menu/popoverMenu.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default {
2828
argTypes: {
2929
menuItems: {
3030
description:
31-
'An array of menu items to be displayed in the menu. \n<pre>```interface PopoverMenuItem: {\n label: string\n onClick: (event?: React.MouseEvent<HTMLElement>) => void\n startDecorator?: ReactNode\n endDecorator: ReactNode\n}```</pre>',
31+
'An array of menu items to be displayed in the menu. \n<pre>```interface PopoverMenuItem {\n label: string\n onClick: (event?: React.MouseEvent<HTMLElement>) => void\n startDecorator?: ReactNode\n endDecorator: ReactNode\n}```</pre>',
3232
},
3333
},
3434
}

src/components/participantsContainer/participantsContainer.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default {
1616
argTypes: {
1717
participants: {
1818
description:
19-
'A list of participants to be displayed. \n<pre>```interface Participant:{\n id: string\n displayName: string\n participantRole: ParticipantRole\n participantType: ParticipantType\n}```</pre>',
19+
'A list of participants to be displayed. \n<pre>```interface Participant {\n id: string\n displayName: string\n participantRole: ParticipantRole\n participantType: ParticipantType\n}```</pre>',
2020
},
2121
},
2222
parameters: {

src/components/table/table.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default {
1717
headers: {
1818
control: 'array',
1919
description:
20-
'Use this prop to set the order of columns and assign headers. If none is provided, headers will be taken from the keys of the data objects from the `data` prop array and the first letter will be capitalized. \n<pre>```interface TableHeader:{\n dataKey: string\n label?: string\n}```</pre>',
20+
'Use this prop to set the order of columns and assign headers. If none is provided, headers will be taken from the keys of the data objects from the `data` prop array and the first letter will be capitalized. \n<pre>```interface TableHeader {\n dataKey: string\n label?: string\n}```</pre>',
2121
},
2222
},
2323
}

0 commit comments

Comments
 (0)