UNPKG

@aioha/react-ui

Version:

Ready-made React modal for Aioha

12 lines (11 loc) 780 B
import React from 'react'; import { CloseIcon } from '../icons/CloseIcon.js'; export const RightAngledArrow = ({ w = 7 }) => { return (React.createElement("td", { className: `px-1 py-4 w-${w} whitespace-nowrap` }, React.createElement("svg", { className: "w-4 h-4 mx-auto text-gray-400 dark:text-gray-500 opacity-70", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, React.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M9 5l7 7-7 7" })))); }; export const RmRowIcon = ({ w = 7 }) => { return (React.createElement("td", { className: `px-1 py-4 w-${w} whitespace-nowrap text-gray-800 dark:text-gray-100` }, React.createElement(CloseIcon, null))); };