19 lines
764 B
TypeScript
19 lines
764 B
TypeScript
// Metro module 11404 (f11405).
|
|
import { View } from "react-native";
|
|
import useKeyboardType from "../../keyboard/native/useKeyboardType";
|
|
import { KeyboardTypes } from "../../keyboard/native/KeyboardTypes";
|
|
import { PlusLargeIcon } from "../../../design/components/Icon/native/redesign/generated/PlusLargeIcon";
|
|
import { AppsIcon } from "../../../design/components/Icon/native/redesign/generated/AppsIcon";
|
|
export function AppLauncherButtonIcon(props) {
|
|
const { style, ...props2 } = props;
|
|
return <View style={{
|
|
overflow: "hidden"
|
|
}}>
|
|
{useKeyboardType() === KeyboardTypes.APP_LAUNCHER ? <PlusLargeIcon {...props2} style={[style, {
|
|
transform: [{
|
|
rotate: "45deg"
|
|
}]
|
|
}]} /> : <AppsIcon style={style} {...props2} />}
|
|
</View>;
|
|
}
|