mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-28 06:23:04 +00:00
9 lines
238 B
JavaScript
9 lines
238 B
JavaScript
import React from 'react';
|
|
|
|
const Label = React.forwardRef(({ children, ...props }, ref) => {
|
|
return React.cloneElement(React.Children.only(children), { ...props, ref });
|
|
});
|
|
|
|
Label.displayName = 'Popup.Label';
|
|
|
|
export default Label;
|