mirror of https://github.com/portainer/portainer
10 lines
267 B
TypeScript
10 lines
267 B
TypeScript
|
import { PropsWithChildren } from 'react';
|
||
|
|
||
|
import { useInputGroupContext } from './InputGroup';
|
||
|
|
||
|
export function InputGroupAddon({ children }: PropsWithChildren<unknown>) {
|
||
|
useInputGroupContext();
|
||
|
|
||
|
return <span className="input-group-addon">{children}</span>;
|
||
|
}
|