MCPcopy Create free account
hub / github.com/dailydotdev/apps / InnerLabel

Function InnerLabel

packages/shared/src/components/fields/BaseFieldContainer.tsx:134–152  ·  view source on GitHub ↗
({
  className,
  inputId,
  label,
  ...props
}: InnerLabelProps)

Source from the content-addressed store, hash-verified

132};
133
134export function InnerLabel({
135 className,
136 inputId,
137 label,
138 ...props
139}: InnerLabelProps): ReactElement {
140 return (
141 <label
142 className={classNames(
143 'typo-caption1',
144 getFieldLabelColor(props),
145 className,
146 )}
147 htmlFor={inputId}
148 >
149 {label}
150 </label>
151 );
152}
153
154function BaseFieldContainer(
155 {

Callers

nothing calls this directly

Calls 1

getFieldLabelColorFunction · 0.85

Tested by

no test coverage detected