fix: sets pointer-events to none so the entire label bar is clickable
This commit is contained in:
@@ -5,6 +5,17 @@ import { useWatchForm } from '../Form/context';
|
||||
const baseClass = 'row-label';
|
||||
|
||||
export const RowLabel: React.FC<Props> = (props) => {
|
||||
return (
|
||||
<span style={{
|
||||
pointerEvents: 'none',
|
||||
}}
|
||||
>
|
||||
<RowLabelContent {...props} />
|
||||
</span>
|
||||
);
|
||||
};
|
||||
|
||||
const RowLabelContent: React.FC<Props> = (props) => {
|
||||
const {
|
||||
path,
|
||||
fallback,
|
||||
|
||||
Reference in New Issue
Block a user