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

Commit

Permalink
Revert "*"
Browse files Browse the repository at this point in the history
This reverts commit 2f4cf1a.
  • Loading branch information
eshurakov committed Jan 16, 2023
1 parent 2f4cf1a commit e5a409f
Show file tree
Hide file tree
Showing 40 changed files with 56 additions and 56 deletions.
2 changes: 1 addition & 1 deletion src/Antd_Avatar.re
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ external makePropsAvatar:
unit
) =>
_ =
"makePropsAvatar";
"";

[@bs.module] external reactComponent: React.component('a) = "antd/lib/avatar";

Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Badge.re
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ external makePropsBadge:
unit
) =>
_ =
"makePropsBadge";
"";

[@bs.module] external reactComponent: React.component('a) = "antd/lib/badge";

Expand Down
4 changes: 2 additions & 2 deletions src/Antd_Button.re
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module ButtonGroup = {
unit
) =>
_ =
"makePropsGroup";
"";

[@bs.module "antd/lib/button"]
external reactComponent: React.component('a) = "Group";
Expand Down Expand Up @@ -98,7 +98,7 @@ external makePropsButton:
unit
) =>
_ =
"makePropsButton";
"";

[@bs.module] external reactComponent: React.component('a) = "antd/lib/button";

Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Calendar.re
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ external makePropsCalendar:
unit
) =>
_ =
"makePropsCalendar";
"";

[@bs.module]
external reactComponent: React.component('a) = "antd/lib/calendar";
Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Card.re
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ external makePropsCard:
unit
) =>
_ =
"makePropsCard";
"";

[@bs.module] external reactComponent: React.component('a) = "antd/lib/card";

Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Carousel.re
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ external makePropsCarousel:
unit
) =>
_ =
"makePropsCarousel";
"";

[@bs.module]
external reactComponent: React.component('a) = "antd/lib/carousel";
Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Cascader.re
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ external makePropsCascader:
~id: string=?
) =>
_ =
"makePropsCascader";
"";

[@bs.module]
external reactComponent: React.component('a) = "antd/lib/cascader";
Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Collapse.re
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ external makePropsCollapse:
unit
) =>
_ =
"makePropsCollapse";
"";

[@bs.module]
external reactComponent: React.component('a) = "antd/lib/collapse";
Expand Down
4 changes: 2 additions & 2 deletions src/Antd_DatePicker.re
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ module Internal = {
unit
) =>
_ =
"makeProps";
"";
[@bs.module]
external reactComponent: React.component('a) = "antd/lib/date-picker";
};
Expand Down Expand Up @@ -333,7 +333,7 @@ module WeekPicker = {
unit
) =>
_ =
"makeProps";
"";
let make =
(
Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Divider.re
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ external makePropsDivider:
unit
) =>
_ =
"makePropsDivider";
"";

[@bs.module]
external reactComponent: React.component('a) = "antd/lib/divider";
Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Drawer.re
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ external maksePropsDrawer:
unit
) =>
_ =
"maksePropsDrawer";
"";

[@bs.module] external reactComponent: React.component('a) = "antd/lib/drawer";

Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Dropdown.re
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ external makePropsDropdown:
unit
) =>
_ =
"makePropsDropdown";
"";

[@bs.module]
external reactComponent: React.component('a) = "antd/lib/dropdown";
Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Empty.re
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ external makePropsEmpty:
unit
) =>
_ =
"makePropsEmpty";
"";

[@bs.module] external reactComponent: React.component('a) = "antd/lib/empty";

Expand Down
8 changes: 4 additions & 4 deletions src/Antd_Grid.re
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Row = {
unit
) =>
gutterBreakpoints =
"makeStringGutterConfig";
"";
let makeGutterBreakpoints = (~xs=?, ~sm=?, ~md=?, ~lg=?, ~xl=?, ~xxl=?, ()) =>
/* ant design uses strings here even though it makes more sense to be number */
makeStringGutterConfig(
Expand Down Expand Up @@ -60,7 +60,7 @@ module Row = {
unit
) =>
_ =
"makePropsGridRow";
"";

[@bs.module]
external reactComponent: React.component('a) = "antd/lib/grid/row";
Expand Down Expand Up @@ -106,7 +106,7 @@ module Col = {
unit
) =>
fullColSize =
"makeColSize";
"";
type colSize(_) =
| SingleColSize(int): colSize(int)
| FullColSize(fullColSize): colSize(fullColSize);
Expand Down Expand Up @@ -139,7 +139,7 @@ module Col = {
unit
) =>
_ =
"makePropsGridCol";
"";

[@bs.module]
external reactComponent: React.component('a) = "antd/lib/grid/col";
Expand Down
2 changes: 1 addition & 1 deletion src/Antd_IconUnsafe.re
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ external makePropsIconUnsafe:
unit
) =>
_ =
"makePropsIconUnsafe";
"";

[@bs.module] external reactComponent: React.component('a) = "antd/lib/icon";

Expand Down
8 changes: 4 additions & 4 deletions src/Antd_Input.re
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ external makePropsInput:
unit
) =>
_ =
"makePropsInput";
"";

[@bs.module] external reactComponent: React.component('a) = "antd/lib/input";

Expand Down Expand Up @@ -194,7 +194,7 @@ module Search = {
unit
) =>
_ =
"makePropsInput";
"";

[@bs.module "antd/lib/input"]
external reactComponent: React.component('a) = "Search";
Expand Down Expand Up @@ -295,7 +295,7 @@ module Group = {
unit
) =>
_ =
"makePropsInput";
"";

[@bs.module "antd/lib/input"]
external reactComponent: React.component('a) = "Group";
Expand Down Expand Up @@ -394,7 +394,7 @@ module Password = {
unit
) =>
_ =
"makePropsInput";
"";

[@bs.module "antd/lib/input"]
external reactComponent: React.component('a) = "Password";
Expand Down
4 changes: 2 additions & 2 deletions src/Antd_Layout.re
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ external makePropsLayout:
unit
) =>
_ =
"makePropsLayout";
"";

[@bs.module] external reactComponent: React.component('a) = "antd/lib/layout";

Expand Down Expand Up @@ -115,7 +115,7 @@ module Sider = {
unit
) =>
_ =
"makePropsSider";
"";

[@bs.module "antd/lib/layout"]
external reactComponent: React.component('a) = "Sider";
Expand Down
6 changes: 3 additions & 3 deletions src/Antd_Menu.re
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ external makePropsMenu:
unit
) =>
_ =
"makePropsMenu";
"";

[@bs.module "antd/lib/menu"]
external reactComponent: React.component('a) = "default";
Expand Down Expand Up @@ -122,7 +122,7 @@ module Item = {
unit
) =>
_ =
"makePropsItem";
"";

[@react.component]
let make =
Expand Down Expand Up @@ -169,7 +169,7 @@ module SubMenu = {
unit
) =>
_ =
"makePropsItem";
"";

[@react.component]
let make =
Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Modal.re
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ external makePropsModal:
unit
) =>
_ =
"makePropsModal";
"";

[@bs.module] external reactComponent: React.component('a) = "antd/lib/modal";

Expand Down
2 changes: 1 addition & 1 deletion src/Antd_PageHeader.re
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ external makePropsPageHeader:
unit
) =>
_ =
"makePropsPageHeader";
"";

[@bs.module]
external reactComponent: React.component('a) = "antd/lib/page-header";
Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Pagination.re
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ external makePropsPagination:
unit
) =>
_ =
"makePropsPagination";
"";

[@bs.module]
external reactComponent: React.component('a) = "antd/lib/pagination";
Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Popconfirm.re
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ external makePropsPopConfirm:
unit
) =>
_ =
"makePropsPopConfirm";
"";

[@bs.module]
external reactComponent: React.component('a) = "antd/lib/popconfirm";
Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Popover.re
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ external makePropsPopOver:
unit
) =>
_ =
"makePropsPopOver";
"";

[@bs.module]
external reactComponent: React.component('a) = "antd/lib/popover";
Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Progress.re
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ external makePropsProgress:
unit
) =>
_ =
"makePropsProgress";
"";

[@bs.module]
external reactComponent: React.component('a) = "antd/lib/progress";
Expand Down
4 changes: 2 additions & 2 deletions src/Antd_Radio.re
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ external makePropsRadio:
unit
) =>
_ =
"makePropsRadio";
"";

[@bs.module "antd/lib/radio"]
external reactComponent: React.component('a) = "default";
Expand Down Expand Up @@ -90,7 +90,7 @@ module Group = {
unit
) =>
_ =
"makePropsRadioGroup";
"";

[@bs.module "antd/lib/radio"]
external reactComponent: React.component('a) = "Group";
Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Rate.re
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ external makePropsRate:
unit
) =>
_ =
"makePropsRate";
"";

[@bs.module] external reactComponent: React.component('a) = "antd/lib/rate";

Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Select.re
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ external makePropsSelect:
unit
) =>
_ =
"makePropsSelect";
"";

[@bs.module] external reactComponent: React.component('a) = "antd/lib/select";

Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Spin.re
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ external makePropsSpin:
unit
) =>
_ =
"makePropsSpin";
"";

[@bs.module] external reactComponent: React.component('a) = "antd/lib/spin";

Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Statistic.re
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ external makePropsStatistic:
unit
) =>
_ =
"makePropsStatistic";
"";

[@bs.module]
external reactComponent: React.component('b) = "antd/lib/statistic";
Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Steps.re
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ external makePropsSteps:
unit
) =>
_ =
"makePropsSteps";
"";

[@bs.module] external reactComponent: React.component('a) = "antd/lib/steps";

Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Switch.re
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ external makePropsSwitch:
unit
) =>
_ =
"makePropsSwitch";
"";

[@bs.module] external reactComponent: React.component('a) = "antd/lib/switch";

Expand Down
2 changes: 1 addition & 1 deletion src/Antd_Table.re
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ external makePropsTable:
unit
) =>
_ =
"makePropsTable";
"";

[@bs.module] external reactComponent: React.component('a) = "antd/lib/table";

Expand Down
Loading

0 comments on commit e5a409f

Please sign in to comment.