### Programmatic Calendar Navigation Source: https://tech.skbkontur.ru/kontur-ui/llms-full.txt Demonstrates how to use a ref to the Calendar component to trigger month scrolling programmatically. ```tsx const initialValue = '02.09.2023'; const [value, setValue] = React.useState(initialValue); const calendarRef = React.useRef(null); return ( <> ); ``` -------------------------------- ### Customizing Calendar Day Rendering Source: https://tech.skbkontur.ru/kontur-ui/llms-full.txt Uses ThemeContext to override calendar styles and provides a custom renderDay function to display dynamic content within calendar cells. ```tsx const theme = React.useContext(ThemeContext); function renderDay(props: CalendarDayProps) { const [date, month] = props.date.split('.').map(Number); const randomDay = date % 6 === 0 || date % 7 === 0 || date % 8 === 0; const randomPrice = Math.round((date / month) * 1000); return (
{date}
{randomDay ? <>{randomPrice} ₽ : }
); } const [value, setValue] = React.useState(null); return ( ); ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.