TootBottomSheet: fix main toot not links profile
All checks were successful
/ depoly (push) Successful in 2m55s
All checks were successful
/ depoly (push) Successful in 2m55s
This commit is contained in:
parent
31b27237cd
commit
f4c0104d48
7 changed files with 179 additions and 150 deletions
22
src/timelines/toot-components/BoostIcon.tsx
Normal file
22
src/timelines/toot-components/BoostIcon.tsx
Normal file
|
@ -0,0 +1,22 @@
|
|||
import {
|
||||
splitProps,
|
||||
type Component,
|
||||
type JSX,
|
||||
} from "solid-js";
|
||||
|
||||
import {
|
||||
Repeat,
|
||||
} from "@suid/icons-material";
|
||||
import "./BoostIcon.css";
|
||||
|
||||
|
||||
const BoostIcon: Component<JSX.HTMLElementTags["i"]> = (props) => {
|
||||
const [managed, rest] = splitProps(props, ["class"]);
|
||||
return (
|
||||
<i class={["icon__boost", managed.class].join(" ")} {...rest}>
|
||||
<Repeat />
|
||||
</i>
|
||||
);
|
||||
};
|
||||
|
||||
export default BoostIcon;
|
Loading…
Add table
Add a link
Reference in a new issue