MCPcopy
hub / github.com/redpanda-data/console / render

Method render

frontend/src/utils/tsx-utils.tsx:351–369  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

349 style?: CSSProperties;
350}> {
351 render() {
352 const p = this.props;
353
354 return (
355 <Label text={p.label}>
356 <RadioGroup
357 name={p.label}
358 onChange={(val) => {
359 p.onChange(val);
360 }}
361 options={ObjToKv(p.options).map((kv) => ({
362 value: String(kv.value),
363 label: kv.key,
364 }))}
365 value={p.value}
366 />
367 </Label>
368 );
369 }
370}
371
372export class RadioOptionGroup<T extends string | null = string> extends Component<{

Callers 2

injectorFunction · 0.45
bootstrap.tsxFile · 0.45

Calls 2

ObjToKvFunction · 0.85
StringInterface · 0.70

Tested by

no test coverage detected