mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-10-24 11:16:27 +02:00
Define typescript type for placeholders
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
import React from 'react';
|
||||
|
||||
const Circle = ({ size = 16 }) => {
|
||||
interface CircleProps {
|
||||
size?: number;
|
||||
}
|
||||
|
||||
const Circle: React.FC<CircleProps> = ({ size = 16 }) => {
|
||||
return (
|
||||
<div
|
||||
className="bg-black-30 br-pill"
|
||||
|
Reference in New Issue
Block a user