Emojy reactions
This commit is contained in:
@@ -53,7 +53,7 @@ export const NameOverlay = styled.div`
|
||||
`
|
||||
|
||||
// Стили без интерполяций компонентов
|
||||
export const Wrapper = styled.div<{ warn?: boolean; width?: string | number }>`
|
||||
export const Wrapper = styled.div<{ warn?: boolean; width?: string | number; position?: string }>`
|
||||
list-style: none;
|
||||
position: relative;
|
||||
border-radius: 12px;
|
||||
@@ -98,6 +98,13 @@ export const Wrapper = styled.div<{ warn?: boolean; width?: string | number }>`
|
||||
`
|
||||
: ''}
|
||||
|
||||
${({ position }) =>
|
||||
position
|
||||
? css`
|
||||
position: ${position};
|
||||
`
|
||||
: ''}
|
||||
|
||||
${(props) =>
|
||||
props.warn
|
||||
? css`
|
||||
|
||||
Reference in New Issue
Block a user