mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
[web] Merge Labs programme into the Feature flags system GitOrigin-RevId: db75e07bf3272becc11ef1eeda3850098b3daa9d
22 lines
413 B
TypeScript
22 lines
413 B
TypeScript
import React from 'react'
|
|
import MaterialIcon from '@/shared/components/material-icon'
|
|
|
|
type LabsExperimentIconProps = {
|
|
icon: string
|
|
}
|
|
|
|
const LabsExperimentIcon: React.FC<LabsExperimentIconProps> = ({ icon }) => {
|
|
if (!icon) {
|
|
return null
|
|
}
|
|
|
|
return (
|
|
<MaterialIcon
|
|
type={icon}
|
|
className="rounded bg-primary-subtle labs-experiment-icon"
|
|
/>
|
|
)
|
|
}
|
|
|
|
export default LabsExperimentIcon
|