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

Andrii/sketch/refactor to jsx3 #314

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ client/src/*.js
.env
.env.*
!.env.example
.idea
4 changes: 2 additions & 2 deletions client/shared/ButterToast.re
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ module ToastOption = {

[@bs.deriving abstract]
type t = {
content: contentArgs => React.reactElement,
content: contentArgs => ReactOld.reactElement,
[@bs.optional]
dismissOnClick: bool,
[@bs.optional]
Expand All @@ -87,7 +87,7 @@ module ToastOption = {
~name=?,
~toastTimeout=?,
content:
(~toastId: string, ~dismiss: unit => unit) => React.reactElement,
(~toastId: string, ~dismiss: unit => unit) => ReactOld.reactElement,
) =>
t(
~content=
Expand Down
Loading