mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
17 lines
407 B
TypeScript
17 lines
407 B
TypeScript
import styled from '@emotion/styled';
|
|
|
|
import type {InputFieldProps} from './inputField';
|
|
import InputField from './inputField';
|
|
|
|
export interface HiddenFieldProps extends Omit<InputFieldProps, 'type'> {}
|
|
|
|
function HiddenField(props: HiddenFieldProps) {
|
|
return <HiddenInputField {...props} type="hidden" />;
|
|
}
|
|
|
|
const HiddenInputField = styled(InputField)`
|
|
display: none;
|
|
`;
|
|
|
|
export default HiddenField;
|