mirror of
https://github.com/strapi/strapi.git
synced 2025-08-10 01:38:10 +00:00
16 lines
273 B
JavaScript
16 lines
273 B
JavaScript
![]() |
import styled, { css } from 'styled-components';
|
||
|
import { InputText } from '@buffetjs/core';
|
||
|
|
||
|
const InputUID = styled(InputText)`
|
||
|
width: 100%;
|
||
|
${({ error }) =>
|
||
|
error &&
|
||
|
css`
|
||
|
> input {
|
||
|
border-color: red;
|
||
|
}
|
||
|
`}
|
||
|
`;
|
||
|
|
||
|
export default InputUID;
|