bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/common/icon/icon-ts/styles.ts

18 lines
262 B
TypeScript
Raw Normal View History

2023-09-11 21:12:37 +08:00
import styled from 'styled-components';
type IconProps = {
$rotate: boolean;
className: string;
};
const Icon = styled.i<IconProps>`
${({ $rotate }) => $rotate && `
transform: rotate(180deg);
margin-top: 20%;
`}
`;
export default {
Icon,
};