import React from 'react'
import styled from 'styled-components'
const urlPrefix =
'https://cdn.jsdelivr.net/npm/@story-telling-reporter/react-three-story-controls/public/icons'
const Icon = styled.div<{
$bgImg?: string
$hoverBgImg?: string
$focusBgImg?: string
}>`
cursor: pointer;
width: 50px;
height: 50px;
background-image: url(${(props) => props.$bgImg || ''});
&:hover {
background-image: url(${(props) => props.$hoverBgImg || ''});
}
`
type IconProps = {
className?: string
onClick?: () => void
darkMode?: boolean
disabled?: boolean
focus?: boolean
}
export function ZoomInButton(props: IconProps) {
return (
)
}
export function ZoomOutButton(props: IconProps) {
return (
)
}
export function OpenPreviewButton(props: IconProps) {
return (
)
}
export function ClosePreviewButton(props: IconProps) {
return (
)
}
export function AddButton(props: IconProps) {
return (
)
}
export function HideButton(props: IconProps) {
return (
)
}
export function ExpandButton(props: IconProps) {
return (
)
}
export function DeleteButton(props: IconProps) {
return (
)
}
export function SwitchPrevButton(props: IconProps) {
if (props.disabled) {
return (
)
}
return (
)
}
export function SwitchNextButton(props: IconProps) {
if (props.disabled) {
return (
)
}
return (
)
}
export function FocusButton(props: IconProps) {
return (
)
}
export function EditButton(props: IconProps) {
if (props.focus) {
return (
)
}
return (
)
}