Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/build toolchain prerequisites change doc export #862

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/src/common/docs/ComponentEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ export class ComponentEditor extends React.Component<ComponentEditorProps<any>,
super(props);

if (this.props.propsDocPath !== undefined) {
requireContext(`${ this.props.propsDocPath }`).then(((module: any) => {
requireContext(`${ this.props.propsDocPath }`).then(((m: any) => {
const module = m.default;
module.props.forEach((prop: any) => {
if (typeof prop.examples === 'function') {
this.propExamples[prop.name] = prop.examples(this.propSamplesCreationContext);
Expand Down
2 changes: 1 addition & 1 deletion epam-promo/components/buttons/docs/button.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ const ButtonDoc = new DocBuilder<ButtonProps & ButtonMods>({ name: 'Button', com
.prop('fill', { examples: allFillStyles, defaultValue: 'solid' })
.withContexts(DefaultContext, FormContext);

export = ButtonDoc;
export default ButtonDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/buttons/docs/iconButton.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ const IconButtonDoc = new DocBuilder<IconButtonProps>({ name: 'IconButton', comp
.prop('color', { renderEditor: (editable, examples) => <ColorPicker colors={ examples.map(i => ({ value: i, hex: colors[i] })) } { ...editable } />, examples: allIconColors })
.withContexts(DefaultContext, FormContext);

export = IconButtonDoc;
export default IconButtonDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/buttons/docs/linkButton.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ const LinkButtonDoc = new DocBuilder<ButtonProps & LinkButtonMods>({ name: 'Link
], type: 'string' })
.withContexts(DefaultContext, FormContext);

export = LinkButtonDoc;
export default LinkButtonDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/buttons/docs/tabButton.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ const TabButtonDoc = new DocBuilder<TabButtonMods & ButtonProps>({ name: 'TabBut
.prop('count', { examples: [0, 1, 5, 88, 123] })
.withContexts(TabButtonContext);

export = TabButtonDoc;
export default TabButtonDoc;
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ const TabButtonDoc = new DocBuilder<TabButtonMods & ButtonProps>({ name: 'Vertic
.prop('count', { examples: [0, 1, 5, 88, 123] })
.withContexts(VerticalTabButtonContext);

export = TabButtonDoc;
export default TabButtonDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/datePickers/docs/datePicker.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ const DatePickerDoc = new DocBuilder<DatePickerProps>({ name: 'DatePicker', comp
})
.withContexts(DefaultContext, FormContext, TableContext, ResizableContext);

export = DatePickerDoc;
export default DatePickerDoc;
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ const RangeDatePickerDoc = new DocBuilder<RangeDatePickerProps>({ name: 'RangeDa
.prop('isHoliday', { examples: [{ name: 'without Holidays', value: () => false }] })
.withContexts(DefaultContext, FormContext, ResizableContext);

export = RangeDatePickerDoc;
export default RangeDatePickerDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/inputs/docs/checkbox.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ const CheckboxDoc = new DocBuilder<CheckboxProps & CheckboxMods>({ name: 'Checkb
.prop('indeterminate', { examples: [true, false], defaultValue: false })
.withContexts(DefaultContext, FormContext, TableContext);

export = CheckboxDoc;
export default CheckboxDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/inputs/docs/multiSwitch.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ const multiSwitchDoc = new DocBuilder<MultiSwitchProps<any>>({ name: 'MultiSwitc
.prop('color', { renderEditor: (editable, examples) => <ColorPicker colors={ examples.map(i => ({ value: i, hex: colors[i] })) } { ...editable } />, examples: ['blue', 'gray50'] })
.withContexts(DefaultContext, FormContext);

export = multiSwitchDoc;
export default multiSwitchDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/inputs/docs/numericInput.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ const NumericInputDoc = new DocBuilder<NumericInputProps & NumericInputMods>({ n
.prop('disableLocaleFormatting', { defaultValue: false, examples: [true, false] })
.withContexts(DefaultContext, FormContext, TableContext);

export = NumericInputDoc;
export default NumericInputDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/inputs/docs/radioInput.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ const RadioInputDoc = new DocBuilder<RadioInputProps & RadioInputMods>({ name: '
.prop('size', { examples: ['12', '18'] })
.withContexts(DefaultContext, FormContext);

export = RadioInputDoc;
export default RadioInputDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/inputs/docs/rating.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ const RatingDoc = new DocBuilder<RatingProps & RatingMods>({ name: 'Rating', com
.prop('hint', { examples: [{ name: 'hint', value: val => `now is ${val} stars` }] })
.withContexts(DefaultContext, FormContext);

export = RatingDoc;
export default RatingDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/inputs/docs/searchInput.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ const SearchInputDoc = new DocBuilder<TextInputProps & TextInputMods & IEditable
.prop('onCancel', { examples: ctx => [ctx.getCallback('onCancel')] })
.prop('mode', { examples: ['cell'] })
.withContexts(DefaultContext, FormContext, ResizableContext, TableContext);
export = SearchInputDoc;
export default SearchInputDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/inputs/docs/switch.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ const SwitchDoc = new DocBuilder<SwitchProps & SwitchMods>({ name: 'Switch', com
.prop('value', { examples: [true, false], defaultValue: false })
.withContexts(DefaultContext, FormContext);

export = SwitchDoc;
export default SwitchDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/inputs/docs/textArea.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ const TextareaDoc = new DocBuilder<TextAreaProps & TextAreaMods>({ name: 'TextAr
.prop('autoSize', { examples: [true, false], defaultValue: false })
.withContexts(DefaultContext, FormContext, TableContext, ResizableContext);

export = TextareaDoc;
export default TextareaDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/inputs/docs/textInput.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ const TextInputDoc = new DocBuilder<TextInputProps & TextInputMods>({ name: 'Tex
.prop('type', { examples: ['text', 'password'], type: 'string', defaultValue: 'text' })
.withContexts(DefaultContext, ResizableContext, FormContext, TableContext);

export = TextInputDoc;
export default TextInputDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/inputs/docs/timePicker.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ const TimePickerDoc = new DocBuilder<TimePickerProps>({ name: 'TimePicker', comp
.prop('format', { examples: [12, 24], defaultValue: 12 })
.withContexts(DefaultContext, ResizableContext, FormContext, TableContext);

export = TimePickerDoc;
export default TimePickerDoc;
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ const flexRowDoc = new DocBuilder<FlexRowProps & RowMods>({ name: 'FlexRow', com
.prop('alignItems', { examples: ['top', 'center'] })
.withContexts(DefaultContext);

export = flexRowDoc;
export default flexRowDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/layout/FlexItems/docs/panel.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ const panelDoc = new DocBuilder<VPanelProps & PanelMods>({ name: 'Panel', compon
.prop('background', { examples: [{ value: 'white', isDefault: true }, 'gray90'] })
.withContexts(DefaultContext);

export = panelDoc;
export default panelDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/layout/docs/accordion.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ const accordionDoc = new DocBuilder<AccordionProps & AccordionMods>({ name: 'Acc
.prop('mode', { examples: [{ value: 'block', isDefault: true }, 'inline'] })
.withContexts(ResizableContext);

export = accordionDoc;
export default accordionDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/layout/docs/blocker.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ const blockerDoc = new DocBuilder<BlockerProps>({ name: 'Blocker', component: Bl
.prop('hideSpinner', { examples:[true] })
.withContexts(RelativePanelContext);

export = blockerDoc;
export default blockerDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/layout/docs/checkboxGroup.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ const checkboxGroupDoc = new DocBuilder<CheckboxGroupProps<any>>({ name: 'Checkb
.prop('direction', { examples:['vertical', 'horizontal'], defaultValue: 'vertical' })
.withContexts(DefaultContext, FormContext, ResizableContext);

export = checkboxGroupDoc;
export default checkboxGroupDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/layout/docs/controlGroup.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ const controlGroupDoc = new DocBuilder<ControlGroupProps>({ name: 'ControlGroup'
] })
.withContexts(DefaultContext, FormContext, ResizableContext);

export = controlGroupDoc;
export default controlGroupDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/layout/docs/iconContainer.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ const iconContainerDoc = new DocBuilder<ControlIconProps & IconContainerMods>({
.prop('rotate', { examples: ['0', '90cw', '180', '90ccw'], defaultValue: null })
.withContexts(DefaultContext, FormContext);

export = iconContainerDoc;
export default iconContainerDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/layout/docs/labeledInput.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ const labeledInputDoc = new DocBuilder<LabeledInputProps & LabeledInputMods>({ n
.prop('validationMessage', { examples: [{ value: 'This field is mandatory', isDefault: true}]})
.withContexts(DefaultContext, ResizableContext, FormContext);

export = labeledInputDoc;
export default labeledInputDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/layout/docs/radioGroup.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ const radioGroupDoc = new DocBuilder<RadioGroupProps<any>>({ name: 'RadioGroup',
.prop('direction', { examples:['vertical', 'horizontal'], defaultValue: 'vertical' })
.withContexts(DefaultContext, FormContext);

export = radioGroupDoc;
export default radioGroupDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/navigation/docs/anchor.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ const AnchorDoc = new DocBuilder<AnchorProps>({ name: 'Anchor', component: Ancho
})
.withContexts(DefaultContext);

export = AnchorDoc;
export default AnchorDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/navigation/docs/mainMenu.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ const mainMenuDoc = new DocBuilder<MainMenuMods & MainMenuProps>({ name: 'MainMe
})
.withContexts(ResizableContext);

export = mainMenuDoc;
export default mainMenuDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/overlays/docs/alert.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ const SnackbarCardDoc = new DocBuilder<AlertProps>({ name: 'Alert', component: A
})
.withContexts(ResizableContext);

export = SnackbarCardDoc;
export default SnackbarCardDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/overlays/docs/dropdown.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ const dropdownMenuDoc = new DocBuilder<DropdownProps>({ name: 'Dropdown', compon
})
.withContexts(DefaultContext);

export = dropdownMenuDoc;
export default dropdownMenuDoc;
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ const dropdownContainerDoc = new DocBuilder({
isRequired: true,
}).withContexts(DefaultContext);

export = dropdownContainerDoc;
export default dropdownContainerDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/overlays/docs/modalFooter.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ const ModalFooterDoc = new DocBuilder<ModalFooterProps>({ name: 'ModalFooter', c
})
.withContexts(DefaultContext);

export = ModalFooterDoc;
export default ModalFooterDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/overlays/docs/modalHeader.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ const ModalHeaderDoc = new DocBuilder<ModalHeaderProps>({ name: 'ModalHeader', c
})
.withContexts(DefaultContext);

export = ModalHeaderDoc;
export default ModalHeaderDoc;
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ const SnackbarCardDoc = new DocBuilder<NotificationCardProps>({ name: 'Notificat
})
.withContexts(DefaultContext);

export = SnackbarCardDoc;
export default SnackbarCardDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/overlays/docs/tooltip.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ const tooltipDoc = new DocBuilder<TooltipProps & TooltipMods>({ name: 'Tooltip',
.prop('color', { examples: ['white', { name: 'gray90', value: 'gray90', isDefault: true }, 'red'] })
.withContexts(DefaultContext);

export = tooltipDoc;
export default tooltipDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/pickers/docs/pickerInput.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ const PickerInputDoc = new DocBuilder<PickerInputBaseProps<any, any> & PickerInp
] })
.withContexts(DefaultContext, ResizableContext, FormContext, TableContext);

export = PickerInputDoc;
export default PickerInputDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/pickers/docs/pickerModal.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ const PickerInputDoc = new DocBuilder<PickerModalProps<any, any>>({ name: 'Picke
] })
.withContexts(ModalContext);

export = PickerInputDoc;
export default PickerInputDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/pickers/docs/pickerToggler.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ const PickerTogglerDoc = new DocBuilder<PickerTogglerProps<any, any> & PickerTog
.prop('placeholder', { examples: ['Select Country', 'Select Person'], type: 'string', defaultValue: 'Please select' })
.withContexts(DefaultContext, ResizableContext, FormContext);

export = PickerTogglerDoc;
export default PickerTogglerDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/tables/docs/dataTableCell.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ const DataTableCellDoc = new DocBuilder<DataTableCellProps & DataTableCellMods>(
})
.withContexts(ResizableContext, DefaultContext, FormContext, TableContext);

export = DataTableCellDoc;
export default DataTableCellDoc;
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ const DataTableHeaderCellDoc = new DocBuilder<DataTableHeaderCellProps & DataTab
})
.withContexts(ResizableContext, DefaultContext, FormContext);

export = DataTableHeaderCellDoc;
export default DataTableHeaderCellDoc;
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ const DataTableHeaderRowDoc = new DocBuilder<DataTableHeaderRowProps & DataTable
})
.withContexts(TableContext, ResizableContext, DefaultContext, FormContext);

export = DataTableHeaderRowDoc;
export default DataTableHeaderRowDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/tables/docs/dataTableRow.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ const DataTableRowDoc = new DocBuilder<DataTableRowProps & DataTableRowMods>({ n
})
.withContexts(TableContext, ResizableContext, DefaultContext);

export = DataTableRowDoc;
export default DataTableRowDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/typography/docs/richTextView.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,4 @@ export const MyComponent = <div className={ css.myHeader }>` }</pre>
})
.withContexts(DefaultContext);

export = textDoc;
export default textDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/typography/docs/text.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ const textDoc = new DocBuilder<TextProps & TextMods>({ name: 'Text', component:
})
.withContexts(DefaultContext, ResizableContext, FormContext);

export = textDoc;
export default textDoc;
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ const textPlaceholderDoc = new DocBuilder<TextPlaceholderProps>({ name: 'TextPla
.prop('isNotAnimated', { examples: [true, false] })
.withContexts(DefaultContext, FormContext);

export = textPlaceholderDoc;
export default textPlaceholderDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/widgets/docs/avatar.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ const AvatarDoc = new DocBuilder<AvatarProps>({ name: 'Avatar', component: Avata
})
.withContexts(DefaultContext);

export = AvatarDoc;
export default AvatarDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/widgets/docs/avatarStack.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ const AvatarStackDoc = new DocBuilder<AvatarStackProps>({ name: 'AvatarStack', c
})
.withContexts(DefaultContext);

export = AvatarStackDoc;
export default AvatarStackDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/widgets/docs/badge.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ const badgeDoc = new DocBuilder<ButtonProps & BadgeMods>({ name: 'Badge', compon
.prop('size', { examples: ['18', '24', '30', '36', '42', '48'], defaultValue: '36' })
.withContexts(DefaultContext, FormContext, ResizableContext);

export = badgeDoc;
export default badgeDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/widgets/docs/paginator.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ const paginatorDoc = new DocBuilder<PaginatorProps>({name: 'Paginator', componen
.prop('totalPages', { examples: [5 , 8, { value: 10, isDefault: true }, 100, 1000], isRequired: true })
.withContexts(DefaultContext);

export = paginatorDoc;
export default paginatorDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/widgets/docs/spinner.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ const spinnerDoc = new DocBuilder<SpinnerProps & SpinnerMods>({ name: 'Spinner',
.prop('color', { renderEditor: (editable, examples) => <ColorPicker colors={ examples.map(i => ({ value: i, hex: colors[i] })) } { ...editable } />, examples: allSpinnerColors })
.withContexts(DefaultContext, FormContext, ResizableContext);

export = spinnerDoc;
export default spinnerDoc;
2 changes: 1 addition & 1 deletion epam-promo/components/widgets/docs/tag.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ const tagDoc = new DocBuilder<ButtonProps & TagMods>({ name: 'Tag', component: T
.prop('size', { examples : ['18', '24', '30', '36', '42', '48'], defaultValue: '36' })
.withContexts(DefaultContext, FormContext, ResizableContext);

export = tagDoc;
export default tagDoc;
2 changes: 1 addition & 1 deletion loveship/components/buttons/docs/button.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ const ButtonDoc = new DocBuilder<ButtonProps & ButtonMods>({ name: 'Button', com
.prop('fill', { examples: allFillStyles, defaultValue: 'solid' })
.withContexts(DefaultContext, ResizableContext, FormContext);

export = ButtonDoc;
export default ButtonDoc;
2 changes: 1 addition & 1 deletion loveship/components/buttons/docs/iconButton.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ const IconButtonDoc = new DocBuilder<IconButtonProps>({ name: 'IconButton', comp
.implements([onClickDoc, isDisabledDoc, isInvalidDoc, iCanRedirectDoc, colorDoc, iconDoc])
.withContexts(DefaultContext, FormContext);

export = IconButtonDoc;
export default IconButtonDoc;
2 changes: 1 addition & 1 deletion loveship/components/buttons/docs/linkButton.doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ const LinkButtonDoc = new DocBuilder<ButtonProps & LinkButtonMods>({ name: 'Link
], type: 'string' })
.withContexts(DefaultContext, FormContext);

export = LinkButtonDoc;
export default LinkButtonDoc;
2 changes: 1 addition & 1 deletion loveship/components/buttons/docs/tabButton.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ const TabButtonDoc = new DocBuilder<TabButtonMods & ButtonProps>({ name: 'TabBut
.prop('theme', { examples: (['light', 'dark']), defaultValue: 'light' })
.withContexts(TabButtonContext);

export = TabButtonDoc;
export default TabButtonDoc;
2 changes: 1 addition & 1 deletion loveship/components/buttons/docs/verticalTabButton.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ const TabButtonDoc = new DocBuilder<TabButtonMods & ButtonProps>({ name: 'TabBut
.prop('theme', { examples: (['light', 'dark']), defaultValue: 'light' })
.withContexts(VerticalTabButtonContext);

export = TabButtonDoc;
export default TabButtonDoc;
2 changes: 1 addition & 1 deletion loveship/components/datePickers/docs/calendar.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ const DatepickerDoc = new DocBuilder<CalendarProps<Dayjs>>({ name: 'Calendar', c
.prop('hideAnotherMonths', {examples: [true, false]})
.withContexts(DefaultContext, FormContext, ResizableContext);

export = DatepickerDoc;
export default DatepickerDoc;
Loading