let defaultSize = Text.Medium;
module Base = {
[@react.component]
let make = (~size, ~color, ~href, ~children, ~underline, ~target=?) => {
children
;
};
};
module Text = {
[@react.component]
let make =
(
~color=Theme.Color.Gray12,
~size=defaultSize,
~href,
~children,
~target=?,
) => {
{React.string(children)}
;
};
};
module WithArrow = {
[@react.component]
let make =
(
~color=Theme.Color.Gray13,
~size=defaultSize,
~href,
~children,
~target=?,
) => {
{React.array([|
React.string(children),
|])}
;
};
};