import * as React from "react" import { url } from "framer/resource" //import { transparent } from "../theme/BasisTheme" // import FFDarkicons from "ff-icons/dark" // import FFLighticons from "ff-icons/light" // import { Frame, addPropertyControls, ControlType } from "framer" // Default properties FFIcon.defaultProps = { img: "CheveronRightSmall", type: "dark", width: 24, height: 24, importedPackage: false, // Ised if component is imported by other packages } export function FFIcon(props) { // console.log("Dark", FFDarkicons); // console.log("Light", FFLighticons); // const iconFile = { FFicons } + props.type + "/" + props.img + ".svg" // console.log(iconFile) // // // This is used by other packages that use this component in code // // // If package is renamed, update the the path here. // const iconFileImported = // // "node_modules/@framer/farfetch.bob-general-icons/code/" + // "node_modules/@framer/farfetch.bob-general-icons/code/" + // props.type + // "/" + // props.img + // ".svg" // const iconFile = "code/" + props.type + "/" + props.img + ".svg" let image = `${props.type}/${props.img}.svg` return // return ( // // ) } // Framer Properties Panel // addPropertyControls(FFIcon, { // type: { // type: ControlType.SegmentedEnum, // defaultValue: "dark", // options: ["dark", "light"], // optionTitles: ["dark", "light"], // }, // img: { // type: ControlType.String, // title: "Icon", // }, // })