Updated
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
// types
|
||||
|
||||
type Props = {
|
||||
color: string;
|
||||
selected ?: boolean;
|
||||
}
|
||||
|
||||
@@ -17,8 +16,5 @@ defineProps<Props>();
|
||||
<div
|
||||
class="size-[30px] ring ring-offset-1 rounded-full shadow-black/30 shadow-inner"
|
||||
:class="selected ? 'ring-black' : 'ring-transparent'"
|
||||
:style="{
|
||||
backgroundColor: color,
|
||||
}"
|
||||
/>
|
||||
</template>
|
||||
Reference in New Issue
Block a user